added binary example

pull/1/head
s-light 6 years ago
parent 154271ddc8
commit 956a75f8b3
No known key found for this signature in database
GPG Key ID: F0BFA86ED38D9F09
  1. 135
      .gitignore
  2. 15
      led-badge-11x44.py

135
.gitignore vendored

@ -0,0 +1,135 @@
# KiCad ignore list:
_autosave-*
*.kicad_pcb-bak
*.bak
_saved_*
*-rescue.lib
FreeCAD backup files
*.FCStd1
*.fcstd1
*.FCStd2
*.fcstd2
# open office / libre office lock files
*.~lock.*
# OwnCloud conflicts:
*_conflict-*
# project specific ignores:
# for pcb-pool production files
/pcb-pool*
# for datasheets or other documents that are not allowed to be synced..
/no_git_sync*
/datasheets*
# for old outdated things
/old*
# for zip backups:
/backup*
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
target/
# Jupyter Notebook
.ipynb_checkpoints
# pyenv
.python-version
# celery beat schedule file
celerybeat-schedule
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/

@ -163,6 +163,20 @@ bitmap_preloaded = [ ([],0) ]
bitmaps_preloaded_unused = False
bitmap_named = {
'ball': (array('B', (
0b00000000,
0b00000000,
0b00000000,
0b00000000,
0b00111100,
0b11111111,
0b11111111,
0b00111100,
0b00000000,
0b00000000,
0b00000000,
0b00000000
)), 1, '\x1e'),
'happy': (array('B', (0x00, 0x00, 0x3c, 0x42, 0xa5, 0x81, 0xa5, 0x99, 0x42, 0x3c, 0x00)), 1, '\x1d'),
'happy2': (array('B', (0x00, 0x08, 0x14, 0x08, 0x01, 0x00, 0x00, 0x61, 0x30, 0x1c, 0x07,
0x00, 0x20, 0x50, 0x20, 0x00, 0x80, 0x80, 0x86, 0x0c, 0x38, 0xe0)), 2, '\x1c'),
@ -395,4 +409,3 @@ for i in range(int(len(buf)/64)):
if sys.platform == "darwin":
pyhidapi.hid_close(dev)

Loading…
Cancel
Save