Arduino Leonardo doesn't work when i connect an AC adapter to it.
I just got an Arduino Leonardo. Everything works great when i am powering it with the usb cable. I can upload sketches and all of that but once i take out the usb cable and i put in the 2.1mm jack of the AC-DC adapter the sketch doesn't run. It is a simple blink L.E.D sketch. Help needed!