more commands, change display communication to new lib
This commit is contained in:
parent
38463ac109
commit
7213318838
31 changed files with 240 additions and 417 deletions
|
@ -11,7 +11,7 @@ const offColor = [0, 0, 0, 255];
|
|||
|
||||
function getIndexes(bitIndex: number) {
|
||||
return {
|
||||
byteIndex: 10 + Math.floor(bitIndex / 8),
|
||||
byteIndex: Math.floor(bitIndex / 8),
|
||||
bitInByteIndex: 7 - bitIndex % 8
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue