Replies: 4 comments
-
|
I found out (in "void setup") that when (GP)IO36 is pressed it isnt HIGH, but LOW: but the following doesnt work in "void loop": |
Beta Was this translation helpful? Give feedback.
-
|
So - I sorted the .ino source of the frist tab and his brackets for better reading ;) Now I know why I didnt reach the "void loop" section :)
So the control is handed over to the CCP - so no chance for my (GP)IO36 :( |
Beta Was this translation helpful? Give feedback.
-
|
on TTGO VGA32 v1.4, RTS button is EN pin (ESP32 reset), while the other button is IO36.
why not a GPIO interrupt? |
Beta Was this translation helpful? Give feedback.
-
because I didnt know such things (before) - Iam not a real Arduino-code-programmer ;) Thanks! Does EN/Reset got a own number or do I write EN in the brackets? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I recognized that your PC-Emulator does work (will do a Reset) if the RST-Button under the Keyboard-connector is pressed and I did see/read that you are using GPIO12 for preferences.clear with the ANSI-Terminal sketch.
Also I did understand/read that GPIO12 shouldnt be used when the MicroSD-Card is in use (or is this only GPIO02?) because of the boot-init/flash-voltage.
So my Questions:
Is the RST-Button GPIO12? Or how (when you didit program) did you get the RST-Button working for the PC-Emulator?
If RST is GPIO12 I couldnt/shlouldnt use it. Then I would support the secind button (GP)IO36 under the Mouse.Connector.
But my follwing (shorted) code didnt work :( It seems that the sketch (based on a older ANSI-Terminal-sketch) never execute/reach the "void loop":
I have "successful" tested (GP)IO36 in the "void setup" section - that means I had to press IO36 to complete the execution of the "void setup" section.
Could you please give me a hint where I can put such a reset-routine?
PS: _reboot is my own defined reboot function (some display/sound/countdown) ;)
Beta Was this translation helpful? Give feedback.
All reactions