//================================================== =======
//Power on sequence
//================================================== =======
cam_power_on_0 = 5, 0, 0, 1, 64; // Pull RST pin and wait 100 ms
cam_power_on_1 = 5, 1, 12, 1, 0; // Set GPIO 12 as output (VDD_SA, VDD_IO 2.7V; VDD_AF 2.7V)
cam_power_on_2 = 5, 2, 12, 0, 5; // Set GPIO 12 low and wait 5 ms
cam_power_on_3 = 5, 3, 1, 32C8, 5; // Turn on 13 MHz clock and wait 5 ms
cam_power_on_4 = 5, 0, 0, 0, 64; // Release RST pin and wait 100 ms
//================================================== =======
//Power off sequence
//================================================== =======
cam_power_off_0= 5, 1, 12, 1, 0; // Set GPIO 12 as output
cam_power_off_1= 5, 2, 12, 1, 5; // Set GPIO 12 high
cam_power_off_2= 5, 3, 1, 1, 0; // Turn off 13 MHz clock
Marcadores