m5stack / TimerCam-arduino

TimerCam Arduino Library
MIT License
46 stars 26 forks source link

Work only plugged in computer #4

Closed th1460 closed 3 years ago

th1460 commented 3 years ago

Hello! How the camera work unplugged from computer? I am using the web_cam example. Thanks

padbol2000 commented 3 years ago

set your ssid and password according to your wifi network

th1460 commented 3 years ago

set your ssid and password according to your wifi network

I set, but when is unplugged I lose the connection. This in web_cam code example. The led blue light in this example is turn off, too. Do I have to change the script in web_cam example to work properly (with autonomy from computer)?

nicolas-f commented 3 years ago

You have to call bat_init() in the setup function in order to keep battery on when unpugged

th1460 commented 3 years ago

Thanks this work for me!