Closed jbeale1 closed 3 months ago
Let me take a look. I am not sure I tried it with a Pi Pico. Thanks for letting me know.
Thanks. I am using Arduino Mbed OS RP2040 boards (Raspberry Pi Pico) https://github.com/arduino/ArduinoCore-mbed
I guess some people also use a different toolchain for Pico, like https://github.com/earlephilhower/arduino-pico but I have not tried that.
This should be fixed in 1.13, which will take a little while to propagate out to the world
After loading the OPT4048 by RetroSpy Technnologies, version 1.12 in my Arduino IDE 2.2.1 I cannot compile the provided example code, because it reports missing OPT4048::D65_Illuminant although that does appear on line 282 of https://github.com/retrospy/OPT4048/blob/main/src/OPT4048.h For what it's worth I'm using a Pi Pico, not any Teensy product at the moment.
For what it's worth, it does compile and work OK if I move the D65_Illuminant and XYZ_to_RGB[][] inside the function in the '#else' clause of the #if defined(CORE_TEENSY), as shown: