Basic Stamp variables
kc8ztj
Posts: 6
I have a question about varialbes in the Basic Stamp 2 OEM. I know that Pbasic will only let you work with positive interger numbers from I have been able to read. If this is so, then what happens with analolg values at say an input. Is the BS2 limited to just digital inputs as a result?
Thanks in advance
Thanks in advance
Comments
rixter
Thanks again
You can use RCTime with an external cap & resistor combo to read a DC voltage, or interface a more sophisticated A/D converter for improved accuracy.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
rixter
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Shoebuy Promotional Code
You got da Stamp, you got da pot, an' you only missin' one thang, so...
"POP A CAP IN ITZ RAGGEDY Smile!"
It's much more dramatic if you point with a two-finger gun-type hand gesture.
The same opportunity often comes up when people forget to use motor filter caps, so practice that phrase & gesture for your own opportunities to help people.
Yo, Yo, from erco
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."