Creating a 2-digit 7-Segment Display for Temperature

  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?