Go Down

Topic: [sorted] delay() & equivalent not working. (Read 878 times) previous topic - next topic

MarkT

You need to post the entire sketch so we can work out what's happening.
[ I won't respond to messages, use the forum please ]

majenko

You're not using delay() or millis() from within an interrupt are you ...?
Get 10% off all 4D Systems TFT screens this month: use discount code MAJENKO10

cowasaki

The sketch stopped at the delay. Its all working now as the delay was only there as a temporary measure.

I just thought it a little strange.

The whole sketch compiles to 64k so probably a bit much listing it all :D

cowasaki


You're not using delay() or millis() from within an interrupt are you ...?


Yes, a slow one. Didn't know that was an issue but it does make sense thanks.

WizenedEE



You're not using delay() or millis() from within an interrupt are you ...?


Yes, a slow one. Didn't know that was an issue but it does make sense thanks.
So you're starting to realize why most people ask you to post all of your code rather than just what you think is the problem?

Go Up