Skip to main content
4 events
when toggle format what by license comment
Jan 26, 2017 at 17:29 comment added frarugi87 @doncarlos yes, just check it and it tells you whether it is turning (!= 0) and the direction. By the way, if the answer fully answers your question please mark it as accepted; otherwise just ask ;)
Jan 26, 2017 at 15:18 comment added floppy380 oh i actually noticed EncVariation indicates the direction:)
Jan 26, 2017 at 14:46 comment added floppy380 This code works better I dont see erratic outputs. Is it also possible to output the direction CCW or CW. I mean this code will work but I also want an LED to turn on when the encoder rotates CCW. How can it be done? Thanks in advance
Jan 20, 2017 at 16:59 history answered frarugi87 CC BY-SA 3.0