Sie sind auf Seite 1von 5

Challenge #1: Challenge #2:

Challenge #3:
Challenge #4 & #5:
Challenge #6:

Questions:
1. How do you compile and upload a sketch file into the Arduino board using the IDE?
-The IDE features Verify, which checks for error then compiles the code, and Upload, which
Verifies the code for error, compiles, and then uploads it on the board.
2. How can the configuration of the pins be specified in the programming?
-Pins can be configured by using pinMode(port, I/O) in the setup function
3. What functions are always required in a sketch?
-void setup() initializes and configures any needed local and import library functions, and basic I/O
meanwhile void loop() serves as the ‘main’ function, iterating the code.
4. How would you change the amount of time each LED is ON?
-The delay(time_in_millisecconds) dictates the time-delay of the LED. This function temporarily
pauses code execution based on the desired time.
5. Why is it necessary to cause some delay in particular applications like for example, reading values
from a sensor?
-Delay allows recognition and verification time in a sensor in order to full recognize analog inputs
since analog data changes with time and requires it requires a certain amount of time for the
sensor to acknowledge the data.
6. In how many ways or units are there to configure the delay?
-

Das könnte Ihnen auch gefallen