This project shows how a basic interrupt works on the Arduino. It displays a message and then another one when the interrupt occurs.
Step 1: Step 1: Add Push Button to Breadboard
1. Attach pushbutton to the middle of breadboard as shown.
2.Place 10K resistor to left side of pushbutton and connect to ground rail
3. Place a jumper wire to left side of pushbutton and connect to power rail
4. Place a jumper wire on the same side as the resistor and connect the other end to pin 2.
Step 2: Step 2: Attach an LCD Screen and Potentiometer
Connect the LCD directly to the breadboard and connect a wire jumper to each pin as pictured.
The order goes.
Potentiometer (Connect to power and ground)
Note that there are 4 empty pins that we do not need to connect in the middle.
Step 3: Step 3: Code
Final step upload the code!