M5StampS3:GPIO3 Analog input don't work
-
I am using the analogue input with the M5Stamp S3, but GPIO3 is constantly outputting 4095.
Other outputs give the correct values.
I use Arduino IDE 2.3.3, and the code isvoid setup() { Serial.begin(115200); for(int i=1;i<=15;i++){ pinMode(i,ANALOG); } } void loop() { int index = 0; for (int pin = 1; pin <= 15; pin++) { v[index] = analogReadMilliVolts(pin); Serial.print(String(v[index])); if (index < 13) { Serial.print(","); } index++; } Serial.println(); delay(1000); } -
Hello @gohan_oishii
GPIO3 on the ESP32S3 is a strapping pin (see here) and is pulled up via external 10 k resistor (see schematic here).
Thanks
Felix -
This post is deleted!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login