This repository has been archived by the owner on Sep 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Blink
Alan Yorinks edited this page Nov 17, 2015
·
3 revisions
Here is a very simple example that will blink the "L" LED attached to pin 13 of an Arduino. It requires no additional hardware other than an Arduino board.
The script starts with a "When Green Flag Clicked" block.
It is followed by Digital Pin Configuration block. This block sets pin 13 as an enabled Digital Output.
The "forever" loop block contains a Digital Write block that sets pin 13 to a 1.
This is followed by a "wait" block set to 1 second.
Next, is a Digital Write block that sets pin 13 to a 0, followed by a "wait" of 1 second.
When executed, the "L" LED on the Arduino will blink on and off at the rate of 1 second.
Copyright (C) 2015 -2019, Alan Yorinks, All rights reserved.
- Home
- Before You Install s2aio
- Installing s2aio
- Starting s2aio
- s2aio Programming Blocks
- Examples