/* This function displays a byte value using the Xplained LEDs. 
Support and FAQ: visit  */
void led_display_number(uint8_t value)
/* This function displays a byte value using the Xplained LEDs. 
Support and FAQ: visit  */
void led_display_number(uint8_t value)
{
   int i;
   int shifter;
   int led[] = {LED0_GPIO, LED1_GPIO, LED2_GPIO, LED3_GPIO, LED4_GPIO, LED5_GPIO, LED6_GPIO, LED7_GPIO};
   for (i = 0, shifter = 1; i < 8; i++, shifter <<= 1) {
	   if (shifter & value)
	      LED_On(led[i]);
	   else
	      LED_Off(led[i]);
   }
}