projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document the Bluetooth ACL layer. Remove unneeded parameters from the signalling...
[pub/USBasp.git]
/
Projects
/
LEDNotifier
/
LEDNotifier.c
diff --git
a/Projects/LEDNotifier/LEDNotifier.c
b/Projects/LEDNotifier/LEDNotifier.c
index
00b6e26
..
61d5efc
100644
(file)
--- 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 */
\r
uint8_t ColorUpdate = fgetc(&USBSerialStream);
\r
\r
/* Read in next LED colour command from the host */
\r
uint8_t ColorUpdate = fgetc(&USBSerialStream);
\r
\r
- /* Top 3 bits select the LED, bottom
three
control the brightness */
\r
+ /* Top 3 bits select the LED, bottom
5
control the brightness */
\r
uint8_t Channel = (ColorUpdate & 0b11100000);
\r
uint8_t Duty = (ColorUpdate & 0b00011111);
\r
\r
uint8_t Channel = (ColorUpdate & 0b11100000);
\r
uint8_t Duty = (ColorUpdate & 0b00011111);
\r
\r