mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Remove sensor setting from deep sleep example
This commit is contained in:
parent
34fd67be98
commit
e9c4881ee2
@ -15,15 +15,6 @@ print(rtc.datetime())
|
|||||||
|
|
||||||
sensor.reset()
|
sensor.reset()
|
||||||
|
|
||||||
# Enable sensor softsleep
|
|
||||||
sensor.sleep(True)
|
|
||||||
|
|
||||||
# Optionally bypass the regulator on OV7725
|
|
||||||
# for the lowest possible power consumption.
|
|
||||||
if (sensor.get_id() == sensor.OV7725):
|
|
||||||
# Bypass internal regulator
|
|
||||||
sensor.__write_reg(0x4F, 0x18)
|
|
||||||
|
|
||||||
# Shutdown the sensor (pulls PWDN high).
|
# Shutdown the sensor (pulls PWDN high).
|
||||||
sensor.shutdown(True)
|
sensor.shutdown(True)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user