ok, that didn't work.. also, according to the top part of the coding - there is no mention of pin 10
void setup() {
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
digitalWrite(9, 0); // start with the "dot" off
}
tutorial my display
Segment A pin 7 Segment A pin 14
Segment B pin 6 Segment B pin 13
Segment C pin 4 Segment C pin 8
Segment D pin 2 Segment D pin 7
Segment E pin 1 Segment E pin 6
Segment F pin 9 Segment F pin 1
Segment G pin 10 Segment G pin 2
Cathode Pins 3 & 8 Cathode Pins 12 & 4
here is how i have it hooked up...
#14 is connected to pin 7
#13 is connected to pin 6
#8 is connected to pin 4
#7 is connected to pin 2
#6 is connected to pin 1
#1 is connected to pin 9
#2 is connected to pin 10
# 12 & 4 are connected to ground on bread board
#9 is not connected at all
resistors are connected to ground on breadboard to their digit led pin wire.. using 5x 220 and 4x 680 because i don't have anymore 220's
here's what it's doing:
http://www.youtube.com/watch?v=AmpHS7wT_bU&feature=youtu.beground is connected to arduino mega 2560 from the breadboard