A melody maker on Arduino. It has only been tested on the Arduino Uno, so there may be issues with other boards.
You will need to connect the following to your Arduino
If you want to save some time, you should connect them to match compile_settings.hpp
- 8 LEDs (must be on adjacent pins)
- A buzzer compatable with the tone function
- A potentiometer
- 2 pushbuttons on interrupt pins (pins 2 & 3 on Arduino Uno)
- A 16x2 LCD screen via I2C
You should use resistors on the LEDs & button like always.
If you did not connect everything to match compile_settings.hpp,
you should edit compile_settings.hpp to match how you connected everything.
If you have questions, please make a new issue.
First, make sure the LiquidCrystal_PCF8572 library is installed.
arduino-cli lib install LiquidCrystal_PCF8574After that, it works the same as any other Arduino sketch:
CLI Tutorial
IDE 1 Tutorial
IDE 2 Tutorial