Creating a 2-digit 7-Segment Display for Temperature

Arrch:

  pinMode(digitOne, OUTPUT);

pinMode(digitTwo, OUTPUT);

}




I take it this is where you are trying to set the 7 segment LEDs? That's not what pinMode() is for. What are you using to drive the LEDs? Are those ICs shift registers? Link to the 7-Segment datasheet?

I am not sure what kind of resistors are driving the LEDs, but this is the datasheet (74LS47 Datasheet).