STAMP2 potentiometer P3 IN3 ???
wperko
Posts: 66
Hi,
I want to use a potentiometer tied between VDD and Gnd with the middle tap going to a BASIC STAMP2 P3 ...
What is the BASIC input code to read the P3 value (0-1024???) or whatever it would be?
IN3, ?
I want to use a potentiometer tied between VDD and Gnd with the middle tap going to a BASIC STAMP2 P3 ...
What is the BASIC input code to read the P3 value (0-1024???) or whatever it would be?
IN3, ?
Comments
Note this will give you 8-bit resolution. If you need more, you'll need an A to D converter IC.
I knew there was something in the BASIC manual, but couldn't remember to save my lfe ...