06-09-2021, 09:30
I have found a bug in ver6.0_b027.
If you define the AQI_STANDARD as 3 (australia), the compiler throws up an error in line 721 and 722 of the D_TFT code.
'Display' was not declared in this scope
aqi25 = Display.PM25AQI / 10;
aqi100 =Display.PM100AQI / 10;
Looking at the code, it would seem it should be:
aqi25 = AQ_Monitor.PM25AQI / 10;
aqi100 = AQ_Monitor.PM100AQI / 10;
If you define the AQI_STANDARD as 3 (australia), the compiler throws up an error in line 721 and 722 of the D_TFT code.
'Display' was not declared in this scope
aqi25 = Display.PM25AQI / 10;
aqi100 =Display.PM100AQI / 10;
Looking at the code, it would seem it should be:
aqi25 = AQ_Monitor.PM25AQI / 10;
aqi100 = AQ_Monitor.PM100AQI / 10;