Differences

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

Link to this comparison view

Next revision Both sides next revision
blocks:app-note:arduino [2023-08-01 11:35]
melvin created
blocks:app-note:arduino [2023-08-16 17:24]
mattias [Running the example]
Line 11: Line 11:
   - Open the downloaded Arduino sketch in the Arduino IDE. The Arduino sketch depends on the [[https://github.com/PaulStoffregen/Encoder|Encoder library]], which can be downloaded through the Library Manager in the Arduino IDE.   - Open the downloaded Arduino sketch in the Arduino IDE. The Arduino sketch depends on the [[https://github.com/PaulStoffregen/Encoder|Encoder library]], which can be downloaded through the Library Manager in the Arduino IDE.
   - Upload the sketch to the Arduino.   - Upload the sketch to the Arduino.
-  - Connect the encoder to digital pins 2 and 3 on the Arduino.+  - Connect the encoder data wires to digital pins 2 and 3 on the Arduino (interrupt pins), power and ground. Find out the wire colors from the encoder whitepapers.
   - Connect the Arduino to a computer running PIXILAB Player.   - Connect the Arduino to a computer running PIXILAB Player.
   - Start Blocks.   - Start Blocks.