For the photovore project file, I think the MCU is set as mega128 in the project options, needs to be set as 168/328. The sorscope project file is set correctly
Also I get these ADC errors, not sure what is going on - this is the first time using webbotlib so maybe I'm doing something wrong. I get similar ADC errors for the photovore file.
In file included from ../50_SoR_Scope.c:22:
../functions.h: In function 'ADC_1':
../functions.h:5: error: 'ADC0' undeclared (first use in this function)
../functions.h:5: error: (Each undeclared identifier is reported only once
../functions.h:5: error: for each function it appears in.)
../functions.h: In function 'ADC_8':
../functions.h:14: error: 'ADC0' undeclared (first use in this function)
../functions.h:15: error: 'ADC1' undeclared (first use in this function)
../functions.h:16: error: 'ADC2' undeclared (first use in this function)
../functions.h:17: error: 'ADC3' undeclared (first use in this function)
../functions.h:18: error: 'ADC4' undeclared (first use in this function)
../functions.h:19: error: 'ADC5' undeclared (first use in this function)
make: *** [50_SoR_Scope.o] Error 1
Build failed with 9 errors and 0 warnings...