feat(rlottie) add LVGL-Rlottie interface as 3rd party lib (#2700)
This commit is contained in:
committed by
GitHub
parent
49c069fe89
commit
03fff13f62
11
scripts/filetohex.py
Executable file
11
scripts/filetohex.py
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
|
||||
with open(sys.argv[1], 'r') as file:
|
||||
s = file.read()
|
||||
|
||||
b = bytearray()
|
||||
b.extend(map(ord, s))
|
||||
|
||||
for a in b: print(hex(a), end =", ")
|
||||
|
||||
Reference in New Issue
Block a user