Pulsin circuit ? Can't find it..
Steel
Posts: 313
So somewhere, Parallax has a circuit for reading a variable resistor using pulsin.· I can't seem to find it anywhere...
I know that it is a variable resistor with a capacitor connected to a BS2/SX pin.· The pin is set up as an output, held high, set as an input, and then a counter counts how long the pin stays high (or time for the capacitor to discharge.
I just cant remember how to connect the wiper of the resistor, so I am trying to find that circuit schematic.
Can anybody help me?
I know that it is a variable resistor with a capacitor connected to a BS2/SX pin.· The pin is set up as an output, held high, set as an input, and then a counter counts how long the pin stays high (or time for the capacitor to discharge.
I just cant remember how to connect the wiper of the resistor, so I am trying to find that circuit schematic.
Can anybody help me?
Comments
There are circuit and resistor/capacitor combination suggestions if you look up the RCTIME command in the Pbasic Manual.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
When the going gets weird, the weird turn pro. -- HST
1uffakind.com/robots/povBitMapBuilder.php
1uffakind.com/robots/resistorLadder.php
Thank you.· I found it real quick.