EasyManua.ls Logo

Eckstein komponente KS0530 - Page 88

Default Icon
160 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
88
}
//*******************************************************************
(6)Test Results
After uploading the program, the LED blinks with the interval of 1s.
(7) Code Explanations:
pinMode(LEDOUTPUT) - This function can denote that the pin is INPUT
or OUTPUT.
digitalWrite(LED HIGH) -When pin is OUTPUT, we can set it to
HIGH(output 5V) or LOW(output 0V).
(8)Extension Practice
The LED flashes for 1s through the test result. Therefore, delay time can
change flash frequency.
Test Code:
/*
keyestudio sun_follower