X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/7f9f97c792dee6875fbca9806422bdd7d6c5a657..3c7ff36cfdb6853197451a1b2b86c07a70fe9708:/Projects/LEDNotifier/LEDNotifier.c?ds=sidebyside 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);