Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // change setup.h to switch between buffered and pixel-by-pixel processing
- #include "setup.h"
- void setup() {
- // This is not necessary and has no effect for ATMEGA based Arduinos.
- // WAVGAT Nano has slower clock rate by default. We want to reset it to maximum speed
- CLKPR = 0x80; // enter clock rate change mode
- CLKPR = 0; // set prescaler to 0. WAVGAT MCU has it 3 by default.
- initializeScreenAndCamera();
- }
- void loop() {
- processFrame();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement