Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.97 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.97 KB

Arduino_Demos

Arduino demo code and diagrams for 2019-2020 CCA Girls Who Code Lecture Series

Blinking LED Workshop

Blinking LED

Blinking LED Diagram

One LED will light up for one second, then go out for one second. This process will repeat indefinitely.

Flowing LED

Flowing LED Diagram

Six LEDs will light up one by one from left to right, and then go out one by one from right to left. After that, the LEDs will light up one by one from right to left, and then go out one by one from left to right. This process will repeat indefinitely. Adapted from: https://www.sunfounder.com/learn/lesson-2-flowing-led-lights-universal-kit.html

Line LED

Each LED will light up then turn off in a line from left to right, then do the same pattern from right to left. This process will repeat indefinitely.

Opposite LED

LEDs will alternate between on and off, with odd pins in sync and even pins in sync. This process will repeat indefinitely.

Intro to LCD Workshop

Intro LCD (LCDdemo and LCDsunfounderdemo)

Scroll LCD Diagram

LCD Screen will display "hello, world!" on the top row and the time since reset on the bottom row. The LCDsunfounderdemo uses the Sunfounder I2C LCD1602. Code adapted from: https://www.arduino.cc/en/Tutorial/HelloWorld

Scroll LCD

LCD screen will scroll the "hello, world!" array across the screen. This exercise uses the Sunfounder I2C LCD1602. Adapted from: https://www.sunfounder.com/learn/sensor-kit-v2-0-for-arduino/lesson-1-display-by-i2c-lcd1602-sensor-kit-v2-0-for-arduino.html

GWC LCD

Regular LCD Diagram LCD Screen will display each character of "girls who code wuz here" on a delay followed by individually delayed "..."s. This exercise uses an LCD with 16 pinheads soldered to the LCD.

Regular LCD Sunfounder LCD