Question: Arduino 1. Given the following code a. b. c. Explain what the code does Draw a flow chart Write comments to each line of code
1. Given the following code a. b. c. Explain what the code does Draw a flow chart Write comments to each line of code int timer100 int ledPins- 2,7,4, 6,5, 3) int pinCount 6; void setup0 for (int thisPin 0; thisPin 0; thisPin-) //turn the pin on: digitalWrite(ledPins[thisPin], HIGH) delay(timer) digitalWrite(ledPins[thisPin], LOW): J) 2. 3. 4. 5. Explain what the map function in Arduino does. Write and example and explain it Write down a for loop statement to initialize 6 different pins (2, 3,6,5,7,4) Explain the Voltage divider circuit and how it applies to our lab. What are the different voltage levels in Arduino
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
