The pins structure specifies Arduino pin numbers where the camera’s enable, reset and XCLK pins are connected. For other M4 boards, you need to specify what timer/counter peripheral (PWM out) connects to the camera’s XCLK input, and, if the timer is a TCC peripheral, if special pin multiplexing is required for it (super esoteric, probably won’t need to change). If using Grand Central, you can just copy this line to your own code. In principle, in the future, there might be different arch structures for different hardware. The arch structure contains values specific to the SAMD51 hardware. In the globals section of the sketch…outside the setup() and loop() functions…we set up some structures and call the OV7670 constructor.
0 Comments
Leave a Reply. |