Control LED with C code.