Skip to content

in arduino 1.6.1 not run #1

@domonetic

Description

@domonetic

im testing this and dont run

include <TimerObject.h>

TimerObject *TimerLed = new TimerObject(50,&ParpadeaLed);
int ledState =LOW;

void setup() {
// put your setup code here, to run once:
//TimerLed.setOnTimer(ParpadeaLed);
ParpadeaLed();
}

void ParpadeaLed()
{
if (ledState == LOW)
ledState = HIGH;
else
ledState = LOW;

// set the LED with the ledState of the variable:
digitalWrite(13, ledState);

}

void loop() {
// put your main code here, to run repeatedly:
TimerLed->Update();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions