I've posted (part I of) a tutorial regarding direct IO from input port pins 5 and 6. A nice application is shown - rotation counter on input port using motor built-in encoders. Read it here: (URL) Ziv NXTasy.org (18 years ago, 13-Apr-07, to lugnet.robotics.nxt)
|