This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot:examples:encoder [2021/03/04 23:56] – heiko.pikner | en:iot:examples:encoder [2021/03/05 10:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Encoder example ====== | ====== Encoder example ====== | ||
| - | The encoder sensor device has to be connected to the sensor module. Encoder sensor device has a two 3,5 mm plugs what has to be connected to the sensor module 3,5 mm input jackets. The controller and sensor modules must be connected. | + | The encoder sensor device has to be connected to the sensor module. Encoder sensor device has a two 3,5 mm plugs what has to be connected to the sensor module 3,5 mm input jackets. The controller and sensor modules must be connected. |
| - | </fc> | + | |
| {{: | {{: | ||
| Line 15: | Line 14: | ||
| < | < | ||
| - | The example code will print out encoder current position value | + | The example code will print out and send to the broker |
| <code c> | <code c> | ||
| #include < | #include < | ||