-
Recent Posts
Recent Comments
Author Archives: admin123
Day 6 – Lost in Space
Photoresistor With light, there is less resistance Without light, there is more resistance High resistance, semi-conductor material. When light hits the device it absorbs the light photons; this process provides energy to the electrons Analog signals Continuous signals Digital signals … Continue reading
Posted in Uncategorized
Leave a comment
Day 4 – Lost in Space
PinMode (in Setup): -Switches – input -LEDs – output // #define CABIN_LIGHTS_PIN 10 // pin controlling the cabin lights// #define STORAGE_LIGHTS_PIN 11 // pin controlling the storage lights// #define COCKPIT_LIGHTS_PIN 12 // pin controlling the exterior lightsconst byte CABIN_LIGHTS_PIN = … Continue reading
Posted in Uncategorized
Leave a comment
Day 3 – Lost in Space
DIP (Dual Inline Package) switch: 3 switches: -On or Off -1 or 0 -True or False -Yes or No Conditional Logic: -IF (Primary decision making tool in code) -ELSE IF (Says to move on to the next condition); always follows … Continue reading