Hello, follks, I’m new here. Please pardon this newbie question.
Board: ATMegaLite (self-soldered)
Arduino board (from the board menu): Arduino Nano w/ ATMega328
Connection: D7 → 220 Ohm resistor → LED → GRND [picture included]
Code: Arduino’s “blink” example.
This is my first time running an arduino application, and so far, it’s not easy. I have the setup as described above: a 220 Ohm resistor connected to pin D7 (corresponding to Arduino Uno’s pin 13) with the circuit ending at ground. I have all this mounted on a breadboard. When I upload the program, nothing happens. Since I figured I had the wrong pin, I decided to modify the program to the following:
void loop() {
Serial.print("Turning on LED. ");
Serial.println(++led);
pinMode(led, OUTPUT);
digitalWrite(led, HIGH);
delay (1000);
}
…in hopes that I would eventually turn on the right pin. However, I got to pin 44 (starting form pin 1) without the LED turning on.
I know that this isn’t a firmware problem since I’m able to run this program and at least get console output.
Attached is a picture of my board setup. In a bit I’ll be using a multimeter to see what I can figure out though voltage.
Also, a disclaimer: I’m not a hardware buff, so I’m inadvertently learning hardware at the same time as Arduino. :~
Thanks to all in advance for helping a newbie!