Skip to content

Instantly share code, notes, and snippets.

View JamesNewton's full-sized avatar
💭
Dexter rocks!

JamesNewton

💭
Dexter rocks!
View GitHub Profile
@JamesNewton
JamesNewton / MassMind.org ENC1 3Wire ReadAngle Arduino
Created May 8, 2017 19:13
Arduino code to read the angle register from the MassMind.org ENC1 via 3 wire read only mode.
/*
Source from
http://forum.arduino.cc/index.php?topic=78881.msg1375885#msg1375885
* Ahmad Byagowi (ahmadexp@gmail.com)
* Date : Aug 31, 2013
* All code (c)2013 Ahmad Byagowi Consultant. all rights reserved
20170508 Minor edits to improve clarity by James Newton.
*/
//c2 pin tied to ground for 3 wire mode