does anyone know why my multimeter shows 0A & 0V changes when the following code is running? It's the blink app with added pin on/off.
Yes LED is flashing!
int LED = 2;
int test = 5;
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED, OUTPUT);
pinMode(test, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level)
digitalWrite(test, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW
digitalWrite(test, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Then you are measuring something different.
Connect the meter - to GND and + to the output pin. If you connect + to the LED then make sure not to catch the GND pin. I.e. connect + and - to both LED pins.
I highly recommend you watch a few tutorials on basic electronics and how the measurement tools work. You have a multi meter that can measure several parameters one at a time, not multiple readings concurrently
Well you havent told us but I'm guessing you connected the multimeter to ground and "test".
If you are not seeing a current change its because with the meter set to "Amps" the current will be too small to show. Also, with no series resistor the current will not be limited and you will destroy the output pin.
Ohms law - I = V/R; if V = 5V and R = 0 what is I?
If you are seeing no voltage change its because you have destroyed the output circuit.
Never connect your multimeter to a voltage output and select a current range. You may have blown the internal fuse.
Yes it is repairable but I am sorry to say you do not think you have the needed skills in your tool kit. How much experience have you had working with SMD components and do you have the needed work station and tools? I am fairly sure it is the processor, the big thing with the antenna on.