Advanced pins programig help!
-
Hi ! Can anyone tell me how can I connect a button on m5stack PINs? I did the connections on the image but it gave some strange results: the device would have trouble connecting via USB, or it turnd ON but doing nothing or simple turning OFF instead.. This is an endstop button that is connected on a normally ON state
-
I mean... I can't upload the image... i connected the switch to 3.3V and GPIO36, used a resistor to connect to ground... and in the programing I used the [Init pin0 (Pin 36) mode IN PULL_UP] and used an [if GET pin0 value = 0] [Set Screen backgroundColor].
-
I mean... I can't upload the image... i connected the switch to 3.3V and GPIO36, used a resistor to connect to ground... and in the programing I used the [Init pin0 (Pin 36) mode IN PULL_UP] and used an [if GET pin0 value = 0] [Set Screen backgroundColor].
-
Hi RB0,
if you need to show an image here you can just use any image hosting service.
I have searched for a service which needs no registration and found imgpile.com
! THIS IS NO RECOMMENDATION - IT'S JUST ONE OF MANY SERVICES !
- Upload the image
- The image will be shown on a full page (like https://imgpile.com/i/uL5fGC)
- Right-click and select "View image" in your browser
- Now you get the real image with suffix (like https://imgpile.com/images/uL5fGC.png)
- This link you can copy into the picture tag
! THIS IS NO RECOMMENDATION - IT'S JUST ONE OF MANY SERVICES !
-
Hi mb ! Thank you for your repply ! I followed your sugestion and uploaded the picture. Here it goes:
https://imgpile.com/images/uL9Vg4.png
Unfortunatly you can't preview it of course.
Thanks a lot for your help. -
Gpio 36 don't have any internal pullup, so code generated in uiflow may fail and throw error (try to set non existing internall pullup or pulldown). You should connect to device by serial terminal and observe the messages. You also should use a resistor with values in kilo ohms eg. 4.7kohm or 10kohm
esp32 pinout reference:
https://randomnerdtutorials.com/esp32-pinout-reference-gpios/