X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/882ef0c983836f9a188ec1f4c86192c1af1c1344..e55f33866334615e705ff68c0f3bea8e5b1b9b8b:/Projects/LEDNotifier/LEDNotifier.c diff --git a/Projects/LEDNotifier/LEDNotifier.c b/Projects/LEDNotifier/LEDNotifier.c index 00b6e2698..61d5efcbb 100644 --- a/Projects/LEDNotifier/LEDNotifier.c +++ b/Projects/LEDNotifier/LEDNotifier.c @@ -113,7 +113,7 @@ int main(void) /* Read in next LED colour command from the host */ uint8_t ColorUpdate = fgetc(&USBSerialStream); - /* Top 3 bits select the LED, bottom three control the brightness */ + /* Top 3 bits select the LED, bottom 5 control the brightness */ uint8_t Channel = (ColorUpdate & 0b11100000); uint8_t Duty = (ColorUpdate & 0b00011111);