Add LED screen

This commit is contained in:
eddyem
2019-12-04 21:22:50 +03:00
parent a1f0824cef
commit 0e40ae2bd5
30 changed files with 20310 additions and 0 deletions

16
F1-nolib/LED_Screen/genlist Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
function bits(){
Ans=""
for x in $(seq 7 -1 0); do
B=$((1<<$x))
if [ $(($1&$B)) -ne 0 ]; then Ans="${Ans}X"
else Ans="${Ans}_"
fi
done
echo $Ans
}
for x in $(seq 0 255); do
printf "#define $(bits $x)\t0x%02x\n" $x
done