How do I use the analog pin of a port as a digital input? I want to hook up a rotary encoder and need two pins. It would be nice to do this using only one port.
Stefan
This forum has moved to forum.jeelabs.net - this read-only archive is for reference only!
How do I use the analog pin of a port as a digital input? I want to hook up a rotary encoder and need two pins. It would be nice to do this using only one port.
Stefan
See
And the new projects-dot-jeelabs-dot-net-and-then-/projects/cafe/wiki/ClassPort which will soon replace it.