Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot:examples:encoder [2021/03/04 23:56] heiko.pikneren:iot:examples:encoder [2021/03/05 10:00] (current) – external edit 127.0.0.1
Line 14: Line 14:
 <code>lib_deps = ITTIoT, ClickEncoder</code> <code>lib_deps = ITTIoT, ClickEncoder</code>
  
-The example code will print out encoder current position value+The example code will print out and send to the broker encoder’s current position value. The value increases when rotating in one direction and decreases when rotating in another direction. Additionally, the encoder wheel has a switch, and if it is pushed, then the message will be sent to the serial port. 
 <code c> <code c>
 #include <Arduino.h> #include <Arduino.h>
en/iot/examples/encoder.1614902216.txt.gz · Last modified: 2021/03/04 10:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0