I\O techniques
Astrocreep
Posts: 2
I am new to microcontrollers, and programming. I have a BS1 and a BS2 in the mail. What I would like to know, is the command or syntax for an input pin to sense a voltage level. Any help would be greatly appreciated.
Comments
I think the BS1 uses PIN4 instead of IN4...
If the voltage at the pin is > 1.4 Volts it will be a "1" if it is < 1.4 Volts it will be a "0".
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1
"USA Today has come out with a new survey - apparently, three out of every four people make up 75% of the population." - David Letterman
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Have Fun
TR