Shop OBEX P1 Docs P2 Docs Learn Events
Reading the Pot voltage — Parallax Forums

Reading the Pot voltage

SammyGSammyG Posts: 2
edited 2009-12-28 17:35 in BASIC Stamp
Hello!
I just bought the BASIC Stamp homework board and think its incredible!
I tried the examples for reading the Potentiometer, but it is reading the time measurements (Chapter 5, ReadPotWithRcTime.bs2).

Is it possible to read the actual voltage that is coming out of the potentiometer?· If 5 Volts are going in, and the 10K Ohm Pot is turned halfway, I would probably be seeing 2.5 volts coming out, right?
Whatever the right value is - is it possible to have the BASIC program determine that voltage or read it and show it in the debugger window?

Thanks for the help.
SammyG
·

Comments

Sign In or Register to comment.