Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (18 sloc) 532 Bytes
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin 13 as an output.
pinMode(13, OUTPUT);
// the loop function runs over and over again forever
void loop() {
int segundos = millis() / 1000;
if (segundos % 2 == 0) {
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
else {
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
You can’t perform that action at this time.