How carbonaeronautics/part-ii-externalleds works
Project type and purpose
• This is a simple embedded‐systems tutorial project using a Teensy (Arduino‐compatible) microcontroller to drive two external LEDs.
• Purpose: demonstrate how digital I/O pins on the Teensy can be programmed to switch external LEDs on and off via a small circuit (resistors + LEDs).
File structure
• Top level:
• ArduinoCode/ – contains the .ino sketch(s) and any helper .h/.cpp files.
• README.md – project overview and wiring instructions.
• There are no backend/frontend partitions or services—this is a single microcontroller codebase.
README for additional insights
• Describes wiring (pin → resistor → LED → ground) and points to a video tutorial.
• No complex software modules or external APIs—just low-level pin control.
Diagramming conventions
• Rectangle for IDE/PC
• Microcontroller block with pin labels
• Zig-zag symbol for resistors
• Diode symbol for LEDs
• Rails for VCC and GND
• Code upload (IDE → Teensy)
• Current/signal flow (Pin → Resistor → LED → GND)
• Software elements (blue)
• Hardware board (gray)
• Signal lines (green)
• Power rails (red for VCC, black for GND)
Detail
• Resistor values and LED polarity.
• Clearly demarcate the boundary between the firmware domain (software) and the electrical circuit domain (hardware).