When i plug my Arduino MINI (with Wi-Fi module, but i don't use it) to my PC it flashes blue light once and then doesn't do anything. If i try to send my sketch to it, it seems to be working software-vise, but circuit doesn't work. I think i have all necessary drivers installed, but i might be mistaken.
Please help, i desperately need this issue solved, thank you.
It means that Arduino receives the sketch i'm sending to it, but moving parts that are supposed to move don't
#include <Servo.h>
int servoPin = 4;
Servo Servo1;
void setup() {
Servo1.attach(servoPin);
}
void loop(){
// Make servo go to 0 degrees
Servo1.write(0);
delay(1000);
// Make servo go to 90 degrees
Servo1.write(90);
delay(1000);
// Make servo go to 180 degrees
Servo1.write(180);
delay(1000);
}
Here's the code, also while typing this i tried plugging in the arduino with blink sketch, and now it's light glows normally.
I should have probably already said that, this whole thing used to be working, but now i'm on a new PC, and i didn't do any Arduino stuff on it, so this could be the real issue to my problem, because the sketch apparently doesn't reach the arduino