Lesson 1 Spaceship Interface - levizzzle/CS490 GitHub Wiki
Lesson 1: involves using a simple program to simulate the activation of an alarm by using blinking red LEDs for the alarm state and a solid green LED for the neutral state. The alarm state is initialized by pressing a momentary switch causing the LEDs to switch from green on, to blinking between the 2 red LEDs. The test was completed by uploading the source code onto the Arduino and appropriately connecting LEDs to facilitate writing LOW and HIGH values from the program. Two additional states were tested modifying the delay between blink states of the red LEDS. The tested delays were 250ms, 1250ms and 2250ms.
Components used:
- Arduino Uno R3
 - Breadboard
 - 1 Green LED, 2 Red LEDs
 - 3 x 220 Ohm Resistors
 - 1 x 10k Ohm Resistor
 
Screenshot of instruction and Code
Things Learned
Lesson 1 was mostly about getting my feet wet. Having not used GitHub before, I learned a lot by clicking around and doing some research. During the setup of the project I noticed some discrepancies in the instructions and source code but was easily able to make the appropriate modification to get the project to work correctly.