None of my pins seem to be working

I was working with an lcd screen and it would power through the 5v and GND pins, but the digital pins didn't seem to be working to write anything on the screen. So, I tried testing each of the pins with an led, but none seemed to work. I then tried powering the led through the 5v and GND pins again, but that doesn't work now either. What did I do?

I have an uno and I'm powering it with a 9V adapter. The arduino is on, and it is running my sketch fine, just not writing to the digital pins.

How have you determined the sketch is working if no outputs are working?

Have you tried reloading Blink?

Weedpharma

how you connect your LCD to your arduino?
code please :slight_smile: for your display to help you out

weedpharma:
How have you determined the sketch is working if no outputs are working?

Have you tried reloading Blink?

Weedpharma

Blink works with the led on pin 13. Serial communication is also working fine.

narzan:
how you connect your LCD to your arduino?
code please :slight_smile: for your display to help you out

I was using the code from the Liquid Crystal display sketch

#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup() {
  // set up the LCD's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the LCD.
  lcd.print("hello, world!");
}

void loop() {
  // Turn off the display:
  lcd.noDisplay();
  delay(500);
  // Turn on the display:
  lcd.display();
  delay(500);
}

Thank you for your help!

how you connect your LCD to your arduino?
to be sure you didn't make any shortage