- Thu Jan 25, 2018 4:52 pm
#73488
Hi guys,
I just came home and tried to upload the following sketch but it didn't work.
Code: Select all#include <Arduino.h>
void setup()
{
Serial.begin(74880);
Serial.println("Starting ...");
pinMode(4, OUTPUT);
}
void loop()
{
digitalWrite(4, HIGH);
delay(25);
digitalWrite(4, LOW);
delay(25);
}
So, I put the 100uF capacitor near to the Vcc and Gnd pins as you can see
here. (props to rudy)
I manage to put it working on my first attempt. I really think it was a beginner's luck.
The circuit is consuming about 70mA just to blink the green led. Is this OK?
I'll leave the circuit working for a few hours before try another uploading just to ensure my theory about time/temperature is totally wrong.
As rudy told I think the problem is related the power supply. I need to investigate other options.
Thank you guys.
Regards,
LA