Skip to content
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

Timer very unprecise and unpredictable #56

Closed
HaknCo opened this issue May 10, 2015 · 6 comments
Closed

Timer very unprecise and unpredictable #56

HaknCo opened this issue May 10, 2015 · 6 comments
Labels

Comments

@HaknCo
Copy link

HaknCo commented May 10, 2015

Hi,
I tested the Basic_Blink example and compared the output against the Blink example from the Arduino IDE port (version from 7.May). Both examples toggle PIN2 every 500 ms. You can see output below.

The Arduino Blink looks like this. Signal looks as expected.
arduino blink

Now look at the Sming output. Totally weird.
sming blink

I also tried the pull request from hreintke, who updated Timer to use delegates.
Same result.

Any suggestions ?

Regards

@anakod
Copy link
Member

anakod commented May 10, 2015

I'm sure this isn't timer issue, something else affects on this pin in same time. You work this original example, yes? At first, please try to change selected pin number.

@tonycorona
Copy link

Maybe I'm having the same issue when compiling the Sming blink example, the led blinks but very unregular, normal blink example works okay. I think it is because the ESP is constantly rebooting. I can compile and flash al the normal examples using eclipse and they work okay, i can also compile and flash all the Sming examples without error but they don't work? Only the blink example works sort of... ;) I also noticed the blue led on the ESP constantly blinking?

@tonycorona
Copy link

Upgraded SDK to v1.0.1b1 and now it's working okay 👍

@anakod
Copy link
Member

anakod commented May 11, 2015

Yes, it can be related to the https://github.com/kadamski/esp-lwip/issues/7
Unfortunately, author doesn't solve last SDK compatiblity issue yet.

@anakod
Copy link
Member

anakod commented May 15, 2015

Can be closed?

@HaknCo
Copy link
Author

HaknCo commented May 21, 2015

Just checked out last version. Problem disappeared. Blink example works as expected.
Thanks.

@HaknCo HaknCo closed this as completed May 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants