m5stack / TimerCam-arduino

TimerCam Arduino Library
MIT License
45 stars 25 forks source link

How can i use the "ON"-Button? #15

Open v8-rt opened 1 year ago

v8-rt commented 1 year ago

Hi guys, Sorry if the question sounds stupid... but i don't find any hint, to which GPIO, the "ON"-Button on the Side of the TimerCam, is connected to. On other M5-Modules the PWR-Button isn't even connected to the esp32, but to another chip that also controls the RTC. Do you know, how i can use it either as trigger to take photos, or turn on/off the camera? Thank you in advance!

felmue commented 1 year ago

Hello @v8-rt

it's connected to GPIO37. See Pinmap/Button here.

It is my understanding that when the camera is powered off it will power it on. And when the camera is already powered on it depends on what you program your application to do when GPIO37 is pulled down to GND.

Thanks Felix