Changes between Version 22 and Version 23 of ControlSystems/Electrical/Training/FallTraining


Ignore:
Timestamp:
Dec 6, 2020, 2:03:45 PM (5 years ago)
Author:
Ryan Nguyen
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/Electrical/Training/FallTraining

    v22 v23  
    2020LEDs 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.
    2121This will require some code, which is provided:
     22
    2223void setup()\\
    2324