Malaysian STEM Club
ARDUINO EXAMPLES 1
BLINK
*/
void
setup
(
)
{
pinMode
(
LED_BUILTIN
,
OUTPUT
)
;
}
void
loop
(
)
{
digitalWrite
(
LED_BUILTIN
,
HIGH
)
;
delay
(20
00
)
;
digitalWrite
(
LED_BUILTIN
,
LOW
)
;
delay
(
500
)
;
}
No comments:
Post a Comment
Home
Subscribe to:
Posts (Atom)
No comments:
Post a Comment