Dec 19, 2016
10:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 19, 2016
10:55 PM
Hello,
I want to print all my value after 1 minute without interrupting or increasing delay for other function .
for Example i am showing arduino code . it won't call PrintAllValue(); function till complete the one minute delay and won't effect or increase the delay for other function .
if((millis()- PrintDelay)>1000)
{
PrintDelay = millis();
PrintAllValue();
}
I write smiler way in cypress but it showing error ...
if ((CyDelay()-PrintDelay)>1000))
{
PrintDelay=CyDelay(1000);
PrintAllValue();
}
Best Regards
Deepak Aagri
4 Replies