![]() Timer.disable(timer6) //Disables the timer6 Timer6=tInterval(1000L, Auto) // Setup a function to be called every 1000 ms Timer.disable(timer7) // Disables the timer7 Selectmode = param.asInt() // Get the state of the Button for selectmode Timer5=tInterval(1000L, closemotor2) // Setup a function to be called every 1000 ms Timer.disable(timer4) //Disables the timer4 Timer4=tInterval(1000L, closemotor1) // Setup a function to be called every 1000 ms Timer.disable(timer5) // Disables the timer5 Timer3=tInterval(1000L, openmotor2) // Setup a function to be called every 1000 msĬlosemotor= param.asInt() // Get the state of the Button for close motor Timer.disable(timer2) //Disables the timer2 Timer2=tInterval(1000L, openmotor1) // Setup a function to be called every 1000 ms Timer.disable(timer3) // Disables the timer3 Openmotor = param.asInt() // Get the state of the Button for opeen motor Void closemotor2() //close linear actual motorĭelay(200) //i had put 60000 but it always repeat Void closemotor1() //close linear actual motor Void openmotor2()//open linear actual motor Void openmotor1() //open linear actual motor ![]() PinMode(5,OUTPUT) //output for close motor PinMode(16,OUTPUT) //output for open motor Serial.begin(115200) // See the connection status in Serial Monitor Int selectmode //Select Mode for Auto or Manual #define BLYNK_PRINT Serial // Comment this out to disable prints and save spaceĬhar auth = "0d2e2960f823481f8f2940a30b1a4bdc" I had set button for (fabric) in blynk push not switch.But it not turn off when i look at blynk it in low condition. The problem is when i set delay below than 1 minutes it work well then if i set more than 1 minutes ,it always repeat (after finish dry go to UV light then after UV light it always go to heater again).What i want is to make it not repeat. When press fabric then heater will on 30 minutes with time had been set and turn off go for the next UV Light for 10 minutes. For example i choose Auto the choose what type of choose. For open and close the rack just press the button from blynk and it open and close the rack.After that next choose button for Auto or Manual. My project is about Development of Automatic Shoe Rack with Ultraviolet (UV) and Dryer Apparatus. I try searching the similar issue thread through Blynk Forum and Google, I did not find the solution yet, I had use many method but it nothing happen, please kindly help to identify the issue. Hi Everyone I still learning Blynk and coding skill.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |