So if the pins used for the values are (3,4,5,6) and (7,8,9,10), what syntax would I use to assign those?
The C++/Arduino syntax.
You use the digitalWrite() function to set the pins as HIGH or LOW. You can use bitRead() function to extract the binary bits that need to be set for each of the pins.
int pinOne = 3;
int pinTwo = 7;
int digitOne = temp / 10;
int digitTwo = temp % 10;
What is this supposed to do exactly? All this does is determine the digits, print them out to the Serial monitor and set pins 3 and 7 HIGH.