I would like to connect a 100K trim pot to my teensy 3.6 but I read that the 3.3V pin can only handle 250mA max. If the resistance is set to the lowest, will it cause an over current draw?
I was planning to hook up from left to right: 3.3V , A0 , GND.
This was the code I was planning to use:
I was planning to hook up from left to right: 3.3V , A0 , GND.
This was the code I was planning to use:
Code:
void setup()
{
Serial.begin(38400);
}
int val;
void loop()
{
val = analogRead(0);
Serial.print("analog 0 is: ");
Serial.println(val);
delay(250);
}