Skip to content

in arduino 1.6.1 not run #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
domonetic opened this issue Mar 12, 2015 · 1 comment
Open

in arduino 1.6.1 not run #1

domonetic opened this issue Mar 12, 2015 · 1 comment

Comments

@domonetic
Copy link

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();
}

@nrbrd
Copy link
Owner

nrbrd commented Mar 13, 2015

Ok, I'll test it soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants