This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta: | |
id: intellikeys | |
file-extension: intellikeys | |
seq: | |
- id: reports | |
type: report | |
repeat: eos | |
types: | |
report: | |
seq: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta: | |
id: usb_hid | |
file-extension: usb_hid | |
bit-endian: le | |
endian: le | |
seq: | |
- id: items | |
type: item | |
repeat: eos | |
enums: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta: | |
id: usb_descriptors | |
endian: le | |
bit-endian: le | |
seq: | |
- id: descriptor | |
type: usb_descriptor | |
repeat: eos | |
enums: | |
descriptor_type: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta: | |
id: fnt | |
file-extension: fnt | |
endian: le | |
bit-endian: le | |
seq: | |
- id: df_version | |
type: u2 | |
- id: df_size | |
type: u4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from elftools.dwarf.descriptions import describe_form_class | |
from elftools.elf.elffile import ELFFile | |
import sys | |
import json | |
import pathlib | |
std_to_type = { | |
"uint8_t": ("B", "int"), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Filter: | |
def __init__(self, address: int, *, extended: bool = False, mask: Optional[int] = None): | |
"""Construct a CanFilter with the given properties. | |
If mask is not None, then the filter is for any sender which matches all | |
the nonzero bits in mask. Otherwise, it matches exactly the given address. | |
If extended is true then only extended addresses are matched, otherwise | |
only standard addresses are matched. | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example of using the Adafruit IO CircuitPython MQTT client | |
# to subscribe to an Adafruit IO feed and publish random data | |
# to be received by the feed. | |
# | |
# Example by Tony DiCola for Adafruit Industries | |
# Modified by Brent Rubell for Adafruit Industries, 2019 | |
import time | |
from random import randint | |
from pimoroni_pms5003 import PMS5003 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ESP-ROM:esp32s2-rc4-20191025 | |
Build:Oct 25 2019 | |
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) | |
SPIWP:0xee | |
mode:DIO, clock div:2 | |
load:0x3ffe8100,len:0x4 | |
load:0x3ffe8104,len:0x1914 | |
load:0x40050000,len:0x14cc | |
load:0x40054000,len:0x210c | |
entry 0x400502e0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AutoSunglasses/code.py | |
18:from adafruit_circuitplayground.express import cpx | |
FruitBox_Sequencer/main.py | |
7:from adafruit_circuitplayground.express import cpx | |
Sensor_Plotting_With_Mu_CircuitPython/soil_moisture.py | |
2:from adafruit_circuitplayground.express import cpx | |
Sound_Reactive_Ears/code.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""":mod:`busio` --- Hardware accelerated behavior | |
================================================= | |
.. module:: busio | |
:synopsis: Hardware accelerated behavior | |
:platform: SAMD21 | |
The `busio` module contains classes to support a variety of serial | |
protocols. |
NewerOlder