Changes between Version 22 and Version 23 of ControlSystems/Electrical/Training/FallTraining
- Timestamp:
- Dec 6, 2020, 2:03:45 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ControlSystems/Electrical/Training/FallTraining
v22 v23 20 20 LEDs only light up when they are connected so that electricity flows through it in the correct direction. The cathode side of the LED, which is the shorter metal leg, gets connected to the ground of the Arduino. The anode side of the LED, the longer leg, is connected to the digital pins. 21 21 This will require some code, which is provided: 22 22 23 void setup()\\ 23 24