To complete this experiment, you need an arduino board. And you can add some leds if you have.
If you want add led, please attach led to arduino port D13.
Code on arduino list below.
1 2 3 4 5 6 7 8 9 10 11 12 |
void setup() { pinMode(13, OUTPUT); } void loop() { digitalWrite(13, HIGH); delay(1000); digitalWrite(13, LOW); delay(1000); } |
To making compatible with some situation that Arduino port need switch from input to output dynamically, Ardublock add some additional code for it.
8,967 total views, 1 views today