AVR code to get 4 digit serial hex display working.