const int btn = 2 ĪttachInterrupt(digitalPinToInterrupt(btn),decoder,CHANGE) It should ask again to press Push Button for 2 Seconds to enter into Setup Mode. If I press Push Button for 2 seconds in SWITCH CASE loop, Arduino is going out of the SWITCH CASE and going into MAIN LOOP() but again coming back to SWITCH CASE() loop. 7 of PROBLEM STATEMENT the code is working fine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |