Suspect a Driver issue?

I used to do a few arduino things a while back, and had no problems uploading. But then I changed from windows XP to Windows 10. I've tried various different boards, ports, and all the settings I can think of for both the Uno and Nano.

Everything can look like I'm uploading fine, but when finished, my board 'L' light just flickers (not blink). Any thoughts? My thanks

Please post your full sketch. If possible you should always post code directly in the forum thread as text using code tags (</> button on the toolbar). This will make it easy for anyone to look at it, which will increase the likelihood of you getting help. If the sketch is longer than the forum will allow then it’s OK to add it as an attachment. Don’t put your code in some external file service like dropbox, etc. We shouldn’t need to go to an external website just to help you. I do feel it’s reasonable to post a link to code hosted on GitHub or similar code hosting sites since that’s an platform specifically designed for this sort of thing

Please always do a Tools > Auto Format on your code before posting it. This will make it easier for you to spot bugs and make it easier for us to read. If you’re using the Arduino Web Editor then you will not have access to this useful tool. I recommend using the standard Arduino IDE instead.

When your code requires a library that’s not included with the Arduino IDE please post a link (using the chain links icon on the toolbar to make it clickable) to where you downloaded that library from or if you installed it using Library Manger (Sketch > Include Library > Manage Libraries) then say so and state the full name of the library.

terribly sorry.
I’ve tried multiple sketches, and variations of a sketch. But all the same non response from any board I try, and from every port (hence why I think it’s a driver issue).

But ok:

#include <Servo.h>


// pushbutton pin
int buttonPin = 12;
// servo pin
int servoPin = 13;
Servo servo;
//create a variable to store a counter and set it to 0
int counter = 0;
void setup()

{
  servo.attach (servoPin);

  // Set up the pushbutton pins to be an input:
  pinMode(buttonPin, INPUT);
}

void loop()
{
  // local variable to hold the pushbutton states
  int buttonState;

  //read the digital state of buttonPin with digitalRead() function and store the           //value in buttonState variable
  buttonState = digitalRead(buttonPin);

  //if the button is pressed increment counter and wait a tiny bit to give us some          //time to release the button
  if (buttonState == LOW) // light the LED
  {
    counter++;
    delay(15);
  }

  if (counter == 0)
    servo.write (20);  // zero degrees
  else if (counter == 1)
    servo.write(90);
  else if (counter == 2)
    servo.write (20);
  //else reset the counter to 0 which resets thr servo to 0 degrees
  else
    counter = 0;
}

The flickering LED is the expected and correct behavior for that sketch. The LED is connected to pin 13 and you are using pin 13 for your servo code. So the LED is showing the pin toggling to control the servo.

The LED is not going to just magically blink on every sketch. The LED is going to do whatever your sketch tells it to do. If you upload a sketch that blinks the LED (File > Examples > 01.Basics > Blink for example), then it will blink.

The symptom of a driver problem is a failed upload. If you can upload to your Arduino then you know for certain there is no driver problem.