Update led.c

Being a "Signed int", it may not reach to 0xFFFF and may stuck in Infinite loop. Modified it to Unsigned int