Configpin and threshold
Wolfbrother
Posts: 129
I'm looking at Configpin threshold command and want to set one pin to CMOS levels, do I have to mask the entire I/O or can I just address this one input pin? I'm using the datalogger on another pin, the standard LCD on another and using the Serial port on pin 1 to communicate with the outside world. I'm guessing that if I set them all as outputs except the one input then whatever threshold command I would have is ignored.
Setup:
CONFIGPIN DIRECTION· %111110111111111··· ' All pins outputs but 10
CONFIGPIN THRESHOLD %000001000000000··· ' Pin 10 CMOS
Or can I just address that one pin 10 in a more direct manner.
Thanks,
Dave
Setup:
CONFIGPIN DIRECTION· %111110111111111··· ' All pins outputs but 10
CONFIGPIN THRESHOLD %000001000000000··· ' Pin 10 CMOS
Or can I just address that one pin 10 in a more direct manner.
Thanks,
Dave
Comments
Another way of doing it:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
/dev/null