Comments on: Raspberry Pi Pico: Read the Internal Temperature Sensor (Arduino IDE) https://randomnerdtutorials.com/raspberry-pi-pico-internal-temperature-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Sun, 15 Dec 2024 12:22:51 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Massimo https://randomnerdtutorials.com/raspberry-pi-pico-internal-temperature-arduino/#comment-991693 Sun, 15 Dec 2024 12:22:51 +0000 https://randomnerdtutorials.com/?p=150059#comment-991693 Yes, I have

]]>
By: Sara Santos https://randomnerdtutorials.com/raspberry-pi-pico-internal-temperature-arduino/#comment-991685 Sun, 15 Dec 2024 10:45:58 +0000 https://randomnerdtutorials.com/?p=150059#comment-991685 In reply to Massimo.

Hi.
Do you have a Raspberry Pi Pico board selected in Tools > Board?

Regards,
Sara

]]>
By: Massimo https://randomnerdtutorials.com/raspberry-pi-pico-internal-temperature-arduino/#comment-991495 Sat, 14 Dec 2024 17:42:40 +0000 https://randomnerdtutorials.com/?p=150059#comment-991495 Hello, I am using Raspberry Pi Pico 2, and it gives me this error.
Are the two boards compatible?

Temp._Pico:14:11: error: ‘analogReadTemp’ was not declared in this scope
tempC = analogReadTemp(); // Get internal temperature
suggested alternative: ‘analogRead’.

Thank you
Best Regards

]]>
By: Sara Santos https://randomnerdtutorials.com/raspberry-pi-pico-internal-temperature-arduino/#comment-906936 Wed, 17 Apr 2024 14:08:43 +0000 https://randomnerdtutorials.com/?p=150059#comment-906936 In reply to Berrt.

What error message?

]]>
By: Berrt https://randomnerdtutorials.com/raspberry-pi-pico-internal-temperature-arduino/#comment-906917 Wed, 17 Apr 2024 11:22:24 +0000 https://randomnerdtutorials.com/?p=150059#comment-906917 Yes, I did that, according to your examples. The sketch worked fine at first, but now it gives this error message

]]>
By: Sara Santos https://randomnerdtutorials.com/raspberry-pi-pico-internal-temperature-arduino/#comment-904839 Tue, 09 Apr 2024 22:01:48 +0000 https://randomnerdtutorials.com/?p=150059#comment-904839 In reply to Bert.

Hi.
Do you have a Raspberry Pi Pico board selected in Tools > Board?
Do you have the Raspberry Pi Pico boards installed in Arduino IDE?
Regards,
Sara

]]>
By: Bert https://randomnerdtutorials.com/raspberry-pi-pico-internal-temperature-arduino/#comment-904540 Mon, 08 Apr 2024 15:39:26 +0000 https://randomnerdtutorials.com/?p=150059#comment-904540 I Have this error

C:\Users\dell\Documents\Arduino\sketch_apr08c\sketch_apr08c.ino: In function ‘void loop()’:
sketch_apr08c:14:11: error: ‘analogReadTemp’ was not declared in this scope
tempC = analogReadTemp(); // Get internal temperature
^~~~~~~~~~~~~~
C:\Users\dell\Documents\Arduino\sketch_apr08c\sketch_apr08c.ino:14:11: note: suggested alternative: ‘analogRead’
tempC = analogReadTemp(); // Get internal temperature
^~~~~~~~~~~~~~
analogRead
exit status 1
‘analogReadTemp’ was not declared in this scope

]]>