OV7670 camera with Nano Every - memory registers

Hi all,

My name is Paolo, I have very basic electronics knowledge and I'm trying to use a OV7670 camera following this very popular tutorial: SIMPLIFIED! How to Use OV7670 Camera with Arduino. - Circuit Journal . This tutorial provides a GitHub link to download the complete code (GitHub - indrekluuk/LiveOV7670: A step-by-step guide to building the circuit for this project:), specifically for both Arduino UNO and Arduino Nano.

The first preliminary test doesn't require any specific camera wiring, you just need your board to be connected in order to test both code and a java tool developed by the tutorial guy. Everything works fine as long as UNO/Nano boards are used (or even just selected from the Tools menu inside Arduino IDE, in a compile-only test perspective), but if I try to use a Nano Every board (ATmega4809) the code is not correctly compiled and some errors pop up.

Code:





// 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();
}

Error:

Arduino:1.8.13 (Windows 10), Scheda:"Arduino Nano Every, None (ATMEGA4809)"





















C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\paolo\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\paolo\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\paolo\Documents\Arduino\libraries -fqbn=arduino:megaavr:nona4809:mode=off -ide-version=10813 -build-path C:\Users\paolo\AppData\Local\Temp\arduino_build_859795 -warnings=none -build-cache C:\Users\paolo\AppData\Local\Temp\arduino_cache_196193 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.arduinoOTA.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\paolo\Documents\Arduino\LiveOV7670\LiveOV7670.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\paolo\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\paolo\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\paolo\Documents\Arduino\libraries -fqbn=arduino:megaavr:nona4809:mode=off -ide-version=10813 -build-path C:\Users\paolo\AppData\Local\Temp\arduino_build_859795 -warnings=none -build-cache C:\Users\paolo\AppData\Local\Temp\arduino_cache_196193 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.arduinoOTA.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\paolo\Documents\Arduino\LiveOV7670\LiveOV7670.ino

Using board 'nona4809' from platform in folder: C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.7

Using core 'arduino' from platform in folder: C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.7

Detecting libraries used...

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\LiveOV7670.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\Adafruit_ST7735_mod.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Adafruit_GFX.h: [Adafruit_GFX_Library@1.1.5]

ResolveLibrary(Adafruit_GFX.h)

  -> candidates: [Adafruit_GFX_Library@1.1.5]

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\Adafruit_ST7735_mod.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for SPI.h: [SPI@1.0]

ResolveLibrary(SPI.h)

  -> candidates: [SPI@1.0]

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\Adafruit_ST7735_mod.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleGrayscale20HzInterlaced.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleTftBufferedCameraFrame.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleTftPixelByPixelCameraFrame.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleUart.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for CameraOV7670.h: [LiveOV7670Library]

ResolveLibrary(CameraOV7670.h)

  -> candidates: [LiveOV7670Library]

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleUart.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Wire.h: [Wire@1.0]

ResolveLibrary(Wire.h)

  -> candidates: [Wire@1.0]

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleUart.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\Adafruit_GFX.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library\\glcdfont.c" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src\\SPI.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library\\CameraOV7670.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library\\CameraOV7670Registers.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library\\CameraOV7670RegistersBayerRGB.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library\\CameraOV7670RegistersDefault.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library\\CameraOV7670RegistersQQVGA.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library\\CameraOV7670RegistersQVGA.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library\\CameraOV7670RegistersRGB565.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library\\CameraOV7670RegistersVGA.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library\\CameraOV7670RegistersYUV422.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src\\Wire.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src\\utility\\twi.c" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Generating function prototypes...

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\LiveOV7670.ino.cpp" -o "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Sto compilando lo sketch...

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\Adafruit_ST7735_mod.cpp" -o "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\Adafruit_ST7735_mod.cpp.o"

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleTftPixelByPixelCameraFrame.cpp" -o "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleTftPixelByPixelCameraFrame.cpp.o"

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleGrayscale20HzInterlaced.cpp" -o "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleGrayscale20HzInterlaced.cpp.o"

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleTftBufferedCameraFrame.cpp" -o "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleTftBufferedCameraFrame.cpp.o"

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleUart.cpp" -o "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\ExampleUart.cpp.o"

"C:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_NANO_EVERY -DARDUINO_ARCH_MEGAAVR -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino/api/deprecated" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\cores\\arduino" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\variants\\nona4809" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\Adafruit_GFX_Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\SPI\\src" "-IC:\\Users\\paolo\\Documents\\Arduino\\libraries\\LiveOV7670Library" "-IC:\\Users\\paolo\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.7\\libraries\\Wire\\src" "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\LiveOV7670.ino.cpp" -o "C:\\Users\\paolo\\AppData\\Local\\Temp\\arduino_build_859795\\sketch\\LiveOV7670.ino.cpp.o"

C:\Users\paolo\Documents\Arduino\LiveOV7670\LiveOV7670.ino: In function 'void setup()':

LiveOV7670:13:3: error: 'CLKPR' was not declared in this scope

   CLKPR = 0x80; // enter clock rate change mode

   ^~~~~

C:\Users\paolo\Documents\Arduino\LiveOV7670\LiveOV7670.ino:13:3: note: suggested alternative: 'CLKCTRL'

   CLKPR = 0x80; // enter clock rate change mode

   ^~~~~

   CLKCTRL

In file included from C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp:9:0:

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h: In member function 'void CameraOV7670::waitForVsync()':

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h:218:10: error: 'OV7670_VSYNC' was not declared in this scope

   while(!OV7670_VSYNC);

          ^~~~~~~~~~~~

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h:218:10: note: suggested alternative: 'COM10_HSYNC'

   while(!OV7670_VSYNC);

          ^~~~~~~~~~~~

          COM10_HSYNC

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h: In member function 'void CameraOV7670::waitForPixelClockLow()':

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h:227:9: error: 'OV7670_PIXEL_CLOCK' was not declared in this scope

   while(OV7670_PIXEL_CLOCK);

         ^~~~~~~~~~~~~~~~~~

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h: In member function 'void CameraOV7670::waitForPixelClockHigh()':

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h:231:10: error: 'OV7670_PIXEL_CLOCK' was not declared in this scope

   while(!OV7670_PIXEL_CLOCK);

          ^~~~~~~~~~~~~~~~~~

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h: In member function 'void CameraOV7670::ignoreHorizontalPaddingRight()':

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h:250:9: error: 'OV7670_PIXEL_CLOCK' was not declared in this scope

   while(OV7670_PIXEL_CLOCK) pixelTime++;

         ^~~~~~~~~~~~~~~~~~

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h:251:10: error: 'OV7670_PIXEL_CLOCK' was not declared in this scope

   while(!OV7670_PIXEL_CLOCK) pixelTime++;

          ^~~~~~~~~~~~~~~~~~

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h: In member function 'void CameraOV7670::readPixelByte(uint8_t&)':

C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library/CameraOV7670.h:256:3: error: 'OV7670_READ_PIXEL_BYTE' was not declared in this scope

   OV7670_READ_PIXEL_BYTE(byte);

   ^~~~~~~~~~~~~~~~~~~~~~

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp: In function 'void sendBlankFrame(uint16_t)':

ExampleUart.cpp:310:7: error: 'UDR0' was not declared in this scope

       UDR0 = formatRgbPixelByteH(colorH);

       ^~~~

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp:310:7: note: suggested alternative: 'ADC0'

       UDR0 = formatRgbPixelByteH(colorH);

       ^~~~

       ADC0

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp: In function 'void processNextGrayscalePixelByteInBuffer()':

ExampleUart.cpp:379:5: error: 'UDR0' was not declared in this scope

     UDR0 = *lineBufferSendByte;

     ^~~~

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp:379:5: note: suggested alternative: 'ADC0'

     UDR0 = *lineBufferSendByte;

     ^~~~

     ADC0

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp: In function 'void processGrayscaleFrameDirect()':

ExampleUart.cpp:402:7: error: 'UDR0' was not declared in this scope

       UDR0 = lineBuffer[0];

       ^~~~

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp:402:7: note: suggested alternative: 'ADC0'

       UDR0 = lineBuffer[0];

       ^~~~

       ADC0

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp: In function 'void tryToSendNextRgbPixelByteInBuffer()':

ExampleUart.cpp:481:5: error: 'UDR0' was not declared in this scope

     UDR0 = *lineBufferSendByte;

     ^~~~

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp:481:5: note: suggested alternative: 'ADC0'

     UDR0 = *lineBufferSendByte;

     ^~~~

     ADC0

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp: In function 'void processRgbFrameDirect()':

ExampleUart.cpp:515:7: error: 'UDR0' was not declared in this scope

       UDR0 = lineBuffer[0];

       ^~~~

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp:515:7: note: suggested alternative: 'ADC0'

       UDR0 = lineBuffer[0];

       ^~~~

       ADC0

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp: In function 'void commandStartNewFrame(uint8_t)':

ExampleUart.cpp:564:3: error: 'UDR0' was not declared in this scope

   UDR0 = 0x00; // New command

   ^~~~

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp:564:3: note: suggested alternative: 'ADC0'

   UDR0 = 0x00; // New command

   ^~~~

   ADC0

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp: In function 'void commandDebugPrint(arduino::String)':

ExampleUart.cpp:587:5: error: 'UDR0' was not declared in this scope

     UDR0 = 0x00; // New commnad

     ^~~~

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp:587:5: note: suggested alternative: 'ADC0'

     UDR0 = 0x00; // New commnad

     ^~~~

     ADC0

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp: In function 'uint8_t sendNextCommandByte(uint8_t, uint8_t)':

ExampleUart.cpp:606:3: error: 'UDR0' was not declared in this scope

   UDR0 = commandByte;

   ^~~~

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp:606:3: note: suggested alternative: 'ADC0'

   UDR0 = commandByte;

   ^~~~

   ADC0

C:\Users\paolo\AppData\Local\Temp\arduino_build_859795\sketch\ExampleUart.cpp: In function 'bool isUartReady()':

ExampleUart.cpp:619:10: error: 'UCSR0A' was not declared in this scope

   return UCSR0A & (1<<UDRE0);

          ^~~~~~

ExampleUart.cpp:619:23: error: 'UDRE0' was not declared in this scope

   return UCSR0A & (1<<UDRE0);

                       ^~~~~

Uso la libreria Adafruit_GFX_Library alla versione 1.1.5 nella cartella: C:\Users\paolo\Documents\Arduino\libraries\Adafruit_GFX_Library 

Uso la libreria SPI alla versione 1.0 nella cartella: C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.7\libraries\SPI 

Uso la libreria LiveOV7670Library nella cartella: C:\Users\paolo\Documents\Arduino\libraries\LiveOV7670Library (legacy)

Uso la libreria Wire alla versione 1.0 nella cartella: C:\Users\paolo\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.7\libraries\Wire 

exit status 1

**'CLKPR' was not declared in this scope**


Please refer to the GitHub link I posted above to see all other code files, like the "setup.h" and "ExampleUart.cpp" mentioned in code and errors log.

As you can see, various errors refer to memory registers, like for example " 'CLKPR' was not declared in this scope" for the clock prescaler, hence my question: is there any way to modify this OV7670 code and correctly use the Nano Every memory registers? Has anyone ever tried this adaptation?

I confess that I'm quite interested in a plug-and-play approach for this project, without deep diving too much into the camera coding and serial communication. I read some of the documentation for both ATmega328P and ATmega4809 datasheets, but I would appreciate some guidance from someone who's more expert than me on this subject.

Thanks!

Paolo

The code does not support the Nano Every, and it would be a major effort to fix all the problems.

I confess that I'm quite interested in a plug-and-play approach

Then buy the boards that were actually used for the project.

On the other hand, that combination will be very limiting and you would probably get a lot more out of the far more powerful ESP32-CAM. There are lots of tutorials on the interesting things you can do, and the modules are dirt cheap.

1 Like

Thank you @jremington, I was interested in the possible code adaptation because I already have a Nano Every at my disposal, but I will for sure get a Nano at this point. Thanks again.

Paolo

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.