Correct jpetermans keymap readme and update copyright info
parent
9ff064ae50
commit
dbd4ce19e9
|
@ -18,7 +18,7 @@ digits mean "row" and "col", i.e. 45 means pin 4, column 5 in the IS31 datasheet
|
||||||
|
|
||||||
The IS31 includes 8 led pages (or frames) 0-7 than can be displayed, and each page consists of 144 bytes.
|
The IS31 includes 8 led pages (or frames) 0-7 than can be displayed, and each page consists of 144 bytes.
|
||||||
- **bytes 0 - 17** - LED control (on/off).
|
- **bytes 0 - 17** - LED control (on/off).
|
||||||
* 18 pins which alternate between A and B matrices (A1, B1, A2, B2, ..).
|
* 18 bytes which alternate between A and B matrices (A1, B1, A2, B2, ..).
|
||||||
* Each byte controls the 8 leds on that pin with bits (8 to 1).
|
* Each byte controls the 8 leds on that pin with bits (8 to 1).
|
||||||
- **bytes 8 - 35** - Blink control.
|
- **bytes 8 - 35** - Blink control.
|
||||||
* Same as LED control above, but sets blink on/off.
|
* Same as LED control above, but sets blink on/off.
|
||||||
|
@ -67,7 +67,7 @@ chMBPost(&led_mailbox, message, timeout);
|
||||||
|
|
||||||
An example:
|
An example:
|
||||||
```c
|
```c
|
||||||
//set the message to be sent. First byte (LSB) is the led address, and second is the message type
|
//set the message to be sent. First byte (LSB) is the message type, and second is the led address
|
||||||
msg=(42 << 8) | ON_LED;
|
msg=(42 << 8) | ON_LED;
|
||||||
|
|
||||||
//send msg to the led mailbox
|
//send msg to the led mailbox
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Copyright 2015 Jun Wako <wakojun@gmail.com>
|
Copyright 2017 jpetermans <tibcmhhm@gmail.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Copyright 2016 flabbergast <s3+flabbergast@sdfeu.org>
|
Copyright 2017 jpetermans <tibcmhhm@gmail.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Copyright 2016 flabbergast <s3+flabbergast@sdfeu.org>
|
Copyright 2017 jpetermans <tibcmhhm@gmail.com>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
Loading…
Reference in New Issue