Timeline for To control the relay switching in nextion using esp32 Microcontroller
Current License: CC BY-SA 4.0
24 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Sep 26, 2024 at 16:06 | history | suggested | Rohit Gupta♦ | CC BY-SA 4.0 |
Corrected typo and added language specifier to code
|
| Sep 26, 2024 at 12:09 | review | Suggested edits | |||
| S Sep 26, 2024 at 16:06 | |||||
| Feb 14, 2020 at 12:08 | comment | added | Juraj♦ | ok. sorry I compared the codes in both answers not with the question. | |
| Feb 14, 2020 at 12:05 | comment | added | Alper Aslan | char buffer[100] = {0}; NexTouch *nex_listen_list[] = { &bt0, NULL }; | |
| Feb 14, 2020 at 12:03 | comment | added | Juraj♦ | I don't see what line is different | |
| Feb 14, 2020 at 11:14 | comment | added | Alper Aslan | @Juraj in question code bt0 state listen all the time by Esp32. In NexTouch nex_listen_list object. | |
| Feb 14, 2020 at 11:09 | comment | added | Juraj♦ | I try to understand the differ3nce between the code in question and code in answer. they look equivalent. | |
| Feb 14, 2020 at 10:12 | comment | added | Alper Aslan | Its written on if condition its zero | |
| Feb 14, 2020 at 9:58 | comment | added | Abhishekh Aaron | @Juraj Sorry, I didn't get your question? | |
| Feb 12, 2020 at 16:21 | comment | added | Juraj♦ | @AbhishekhAaron, what is the value of the dual_state variable if it is not 1? | |
| Feb 11, 2020 at 20:11 | comment | added | Alper Aslan | @AbhishekhAaron what a good news :) | |
| Feb 11, 2020 at 12:57 | comment | added | Abhishekh Aaron | Thanks, guys. My code works. Alper Aslan I used your code for my dual state button and it works now. Below I have attached my code, | |
| Feb 10, 2020 at 18:50 | comment | added | Alper Aslan | @AbhishekhAaron you are welcome i am using this code on my project and working properly its not listen all time. Its just listen when pressed button and take button state. | |
| Feb 10, 2020 at 18:43 | history | edited | Alper Aslan | CC BY-SA 4.0 |
deleted 17 characters in body
|
| Feb 10, 2020 at 18:42 | comment | added | Alper Aslan | Ok guys i will edit you are right thanks for your advice | |
| Feb 10, 2020 at 17:54 | comment | added | Duncan C |
No, Juraj has a point. Don't include code that does not make sense for most users in your answer. You say "I am using for taking button state in my case." That suggests that most users would not need or want that delay, so edit your answer and delete it. The delay() function causes all sorts of problems, and it should only be used in very special circumstances.
|
|
| Feb 10, 2020 at 17:33 | comment | added | Abhishekh Aaron | Thanks Alper Aslan. I will check using your code and will let you know soon. | |
| Feb 10, 2020 at 11:28 | comment | added | Alper Aslan | You're overreacting bye | |
| Feb 9, 2020 at 21:20 | comment | added | Alper Aslan | this delay not for this. in my project i am changing dual_state as 0 after if condition . This is for my case. If you dont want to use it then dont use it. | |
| Feb 9, 2020 at 20:30 | comment | added | Alper Aslan | I am using for taking button state in my case. Don't use if you don't want to use it. Its wait after take button state 200ms and enter if condition . Sometimes there is a delay between arduino and nextion i am waiting because of this . | |
| Feb 9, 2020 at 19:59 | history | edited | Alper Aslan | CC BY-SA 4.0 |
deleted 3 characters in body
|
| S Feb 9, 2020 at 19:57 | history | suggested | sempaiscuba | CC BY-SA 4.0 |
formatted code for readability
|
| Feb 9, 2020 at 19:29 | review | Suggested edits | |||
| S Feb 9, 2020 at 19:57 | |||||
| Feb 9, 2020 at 19:22 | history | answered | Alper Aslan | CC BY-SA 4.0 |