This gets worse.
I tried to test the simplest possible example under Rasberry Pi Pico ..... rp2040 .... Temperature.
No includes, nothing , just one line of code beyond the trivia:I have not modified it, I have not saved it elsewhere. It failing to compiler just where it was installed. I'm guessing this was included with the PhilHowler core which I installed using the IDE manager. I got similar errors on other examples which tried to use analogRead().
What can I do to straighten this out? If it can't even compile its most trivial example sketch, what hope does my code have ??
TIA.
I tried to test the simplest possible example under Rasberry Pi Pico ..... rp2040 .... Temperature.
No includes, nothing , just one line of code beyond the trivia:
Code:
void setup() { Serial.begin(115200); delay(5000);}void loop() { Serial.printf("Core temperature: %2.1fC\n", analogReadTemp()); delay(1000);}
Code:
/Temperature.ino:9: undefined reference to `analogReadTemp'collect2: error: ld returned 1 exit statusexit status 1Error compiling for board Raspberry Pi Pico.
What can I do to straighten this out? If it can't even compile its most trivial example sketch, what hope does my code have ??
TIA.
Statistics: Posted by pie_face — Sun Aug 25, 2024 4:18 pm