Jump to content

Energia1.8/1.6 don't support sleep()

Recommended Posts

Today i download Energia 1.8 witch is released in 2018.

But i found that the sleep() function don't highlight in the editor. And it can't be compilered successfully. (It's same to sleepSeconds() and suspend().)

Then i tried Energia 1.6/Enegia-0101E0017  and they also don't support sleep().

It reminds me "error: 'sleep' was not declared in this scope".

But i find there are many examples with it on the internet.

So, how can i deal with it? please. 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now