Wed, 28 Aug 2019 19:53:19 +0200
Started with the stubs for CircuitPython.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/analogio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'analogio' module. +""" + +class AnalogIn(): + def __init__(self, pin): + pass + + def deinit(self): + pass + + @property + def value(self): + pass + + @property + def reference_voltage(self): + pass + +class AnalogOut(): + def __init__(self, pin): + pass + + def deinit(self): + pass + + @property + def value(self): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/audiobusio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'audiobusio' module. +""" + +class I2SOut(): + def __init__(self, bit_clock, word_select, data, *, left_justified): + pass + + def deinit(self): + pass + + def play(self, sample, *, loop=False): + pass + + def stop(self): + pass + + @property + def playing(self): + pass + + def pause(self): + pass + + def resume(self): + pass + + @property + def paused(self): + pass + +class PDMIn(): + def __init__(self, clock_pin, data_pin, *, sample_rate=16000, bit_depth=8, + mono=True, oversample=64, startup_delay=0.11): + pass + + def deinit(self): + pass + + def record(self, destination, destination_length): + pass + + @property + def sample_rate(self): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/audiocore.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'audiocore' module. +""" + +class Mixer(): + def __init__(self, channel_count=2, buffer_size=1024): + pass + + def deinit(self): + pass + + def play(self, sample, *, voice=0, loop=False): + pass + + def stop_voice(self, voice=0): + pass + + @property + def playing(self): + pass + + @property + def sample_rate(self): + pass + +class RawSample(): + def __init__(self, buffer, *, channel_count=1, sample_rate=8000): + pass + + def deinit(self): + pass + + @property + def sample_rate(self): + pass + +class WaveFile(): + def __init__(self, file, buffer=None): + pass + + def deinit(self): + pass + + @property + def sample_rate(self): + pass + + @property + def bits_per_sample(self): + pass + + @property + def channel_count(self): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/audioio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'audioio' module. +""" + +class AudioOut(): + def __init__(self, left_channel, *, right_channel=None, + quiescent_value=0x8000): + pass + + def deinit(self): + pass + + def play(self, sample, *, loop=False): + pass + + def stop(self): + pass + + @property + def playing(self): + pass + + def pause(self): + pass + + def resume(self): + pass + + @property + def paused(self): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/audiopwmio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'audiopwmio' module. +""" + +class PWMAudioOut(): + def __init__(self, left_channel, *, right_channel=None, + quiescent_value=0x8000): + pass + + def deinit(self): + pass + + def play(self, sample, *, loop=False): + pass + + def stop(self): + pass + + @property + def playing(self): + pass + + def pause(self): + pass + + def resume(self): + pass + + @property + def paused(self): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/bitbangio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,78 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'bitbangio' module. +""" + +class I2C(): + def __init__(self, scl, sda, *, frequency=400000, timeout): + pass + + def deinit(self): + pass + + def scan(self): + pass + + def try_lock(self): + pass + + def unlock(self): + pass + + def readfrom_into(self, address, buffer, *, start=0, end=None): + pass + + def writeto(self, address, buffer, *, start=0, end=None, stop=True): + pass + + def writeto_then_readfrom(self, address, out_buffer, in_buffer, *, + out_start=0, out_end=None, in_start=0, + in_end=None): + pass + +class OneWire(): + def __init__(self, pin): + pass + + def deinit(self): + pass + + def reset(self): + pass + + def read_bit(self): + pass + + def write_bit(self, value): + pass + +class SPI(): + def __init__(self, clock, MOSI=None, MISO=None): + pass + + def deinit(self): + pass + + def configure(self, *, baudrate=100000, polarity=0, phase=0, bits=8): + pass + + + def try_lock(self): + pass + + def unlock(self): + pass + + def write(self, buf): + pass + + def readinto(self, buf): + pass + + def write_readinto(self, buffer_out, buffer_in, *, out_start=0, + out_end=None, in_start=0, in_end=None): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/bleio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,223 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'bleio' module. +""" + +adapter = object + +class Address(): + PUBLIC = 0 + RANDOM_STATIC = 0 + RANDOM_PRIVATE_RESOLVABLE = 0 + RANDOM_PRIVATE_NON_RESOLVABLE = 0 + + def __init__(self, address, address_type): + pass + + @property + def address_bytes(self): + pass + + @property + def type(self): + pass + +class Adapter(): + @property + def enabled(self): + pass + + @property + def address(self): + pass + + @property + def default_name(self): + pass + +class Attribute(): + NO_ACCESS = 0 + OPEN = 0 + ENCRYPT_NO_MITM = 0 + ENCRYPT_WITH_MITM = 0 + LESC_ENCRYPT_WITH_MITM = 0 + SIGNED_NO_MITM = 0 + SIGNED_WITH_MITM = 0 + +class Central(): + def __init__(self): + pass + + def connect(self, address, timeout, *, service_uuids_whitelist=None): + pass + + def disconnect(self): + pass + + def discover_remote_services(self, service_uuids_whitelist=None): + pass + + @property + def connected(self): + pass + +class Characteristic(): + BROADCAST = 0 + INDICATE = 0 + NOTIFY = 0 + READ = 0 + WRITE = 0 + WRITE_NO_RESPONSE = 0 + + def __init__(self, uuid, *, properties=0, read_perm=Attribute.OPEN, + write_perm=Attribute.OPEN, max_length=20, + fixed_length=False, descriptors=None): + pass + + @property + def properties(self): + pass + + @property + def uuid(self): + pass + + @property + def value(self): + pass + + @property + def descriptors(self): + pass + + def service(self, read_only): + pass + + def set_cccd(self, *, notify=False, indicate=False): + pass + +class CharacteristicBuffer(): + def __init__(self, characteristic, *, timeout=1, buffer_size=64): + pass + + def read(self, nbytes=None): + pass + + def readinto(self, buf): + pass + + def readline(self): + pass + + @property + def in_waiting(self): + pass + + def reset_input_buffer(self): + pass + + def deinit(self): + pass + +class Descriptor(): + def __init__(self, uuid, *, read_perm=Attribute.OPEN, + write_perm=Attribute.OPEN): + pass + + def characteristic(self, read_only): + pass + + @property + def uuid(self): + pass + + @property + def value(self): + pass + +class Peripheral(): + def __init__(self, services=(), *, name=None): + pass + + def connected(self, read_only): + pass + + @property + def services(self): + pass + + @property + def name(self): + pass + + def start_advertising(self, data, *, scan_response=None, connectable=True, + interval=1): + pass + + def stop_advertising(self): + pass + + def disconnect(self): + pass + + def discover_remote_services(self, service_uuids_whitelist=None): + pass + + def pair(self): + pass + +class ScanEntry(): + @property + def address(self): + pass + + @property + def advertisement_bytes(self): + pass + + @property + def rssi(self): + pass + +class Scanner(): + def __init__(self): + pass + + def scan(self, timeout, *, interval=0.1, window=0.1): + pass + +class Service(): + def __init__(self, uuid, characteristics, *, secondary=False): + pass + + @property + def remotes(self): + pass + + @property + def secondarys(self): + pass + + @property + def uuids(self): + pass + +class UUID(): + def __init__(self, value): + pass + + @property + def uuid16(self): + pass + + @property + def uuid128(self): + pass + + @property + def size(self): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/board.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,17 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'board' module. +""" + +def I2C(): + pass + +def SPI(): + pass + +def UART(): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/busio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,108 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'busio' module. +""" + +class I2C(): + def __init__(self, scl, sda, *, frequency=400000): + pass + + def deinit(self): + pass + + def scan(self): + pass + + def try_lock(self): + pass + + def unlock(self): + pass + + def readfrom_into(self, address, buffer, *, start=0, end=None): + pass + + def writeto(self, address, buffer, *, start=0, end=None, stop=True): + pass + +class OneWire(): + def __init__(self, pin): + pass + + def deinit(self): + pass + + def reset(self): + pass + + def read_bit(self): + pass + + def write_bit(self, value): + pass + +class SPI(): + def __init__(self, clock, MOSI=None, MISO=None): + pass + + def deinit(self): + pass + + def configure(self, *, baudrate=100000, polarity=0, phase=0, bits=8): + pass + + + def try_lock(self): + pass + + def unlock(self): + pass + + def write(self, buffer, *, start=0, end=None): + pass + + def readinto(self, buffer, *, start=0, end=None, write_value=0): + pass + + def write_readinto(self, buffer_out, buffer_in, *, out_start=0, + out_end=None, in_start=0, in_end=None): + pass + + @property + def frequency(self): + pass + +class UART(): + def __init__(self, x, rx, *, baudrate=9600, bits=8, parity=None, stop=1, + timeout=1, receiver_buffer_size=64): + pass + + def deinit(self): + pass + + def read(self, nbytes=None): + pass + + def readinto(self, buf): + pass + + def readline(self): + pass + + def write(self, buf): + pass + + @property + def baudrate(self): + pass + + @property + def in_waiting(self): + pass + + def reset_input_buffer(self): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/digitalio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'digitalio' module. +""" + +class DriveMode(): + PUSH_PULL = 0 + OPEN_DRAIN = 0 + +class DigitalInOut(): + def __init__(self, pin): + pass + + def deinit(self): + pass + + def switch_to_output(self, value=False, drive_mode=DriveMode.PUSH_PULL): + pass + + def switch_to_input(self, pull=None): + pass + + @property + def direction(self): + pass + + @property + def value(self): + pass + + @property + def drive_mode(self): + pass + + @property + def pull(self): + pass + +class Pull(): + UP = 0 + DOWN = 0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/displayio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,153 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'displayio' module. +""" + +def release_displays(): + pass + +class Bitmap(): + def __init__(self, width, height, value_count): + pass + + @property + def width(self): + pass + + @property + def height(self): + pass + +class ColorConverter(): + def __init__(self): + pass + + def convert(self, color): + pass + +class Display(): + def __init__(self, display_bus, init_sequence, *, width, height, + colstart=0, rowstart=0, rotation=0, color_depth=16, + set_column_command=0x2a, set_row_command=0x2b, + write_ram_command=0x2c, set_vertical_scroll=0, + backlight_pin=None, brightness=1.0, auto_brightness=False, + single_byte_bounds=False, data_as_commands=False): + pass + + def show(self, group): + pass + + def refresh_soon(self): + pass + + def wait_for_frame(self): + pass + + @property + def brightness(self): + pass + + @property + def auto_brightness(self): + pass + + @property + def width(self): + pass + + @property + def height(self): + pass + + @property + def bus(self): + pass + +class FourWire(): + def __init__(self, spi_bus, *, command, chip_select, reset=None): + pass + + def send(self, command, data): + pass + +class Group(): + def __init__(self, *, max_size=4, scale=1, x=0, y=0): + pass + + @property + def scale(self): + pass + + @property + def x(self): + pass + + @property + def y(self): + pass + + def append(self, layer): + pass + + def insert(self, index, layer): + pass + + def pop(self, i=-1): + pass + +class OnDiskBitmap(): + def __init__(self, file): + pass + + @property + def width(self): + pass + + @property + def height(self): + pass + +class Palette(): + def __init__(self, color_count): + pass + + def make_transparent(self, palette_index): + pass + + def make_opaque(self, palette_index): + pass + +class ParallelBus(): + def __init__(self, *, data0, command, chip_select, write, read, reset): + pass + + def send(self, command, data): + pass + +class Shape(): + def __init__(self, width, height, *, mirror_x=False, mirror_y=False): + pass + + def set_boundary(self, y, start_x, end_x): + pass + +class TileGrid(): + def __init__(self, bitmap, *, pixel_shader, width=1, height=1, + tile_width=None, tile_height=None, default_tile=0, x=0, y=0): + pass + + @property + def x(self): + pass + + @property + def y(self): + pass + + @property + def pixel_shader(self): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/fontio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'fontio' module. +""" + +class BuiltinFont(): + @property + def bitmap(self): + pass + + def get_bounding_box(self): + pass + + def get_glyph(self, codepoint): + pass + +class Glyph(): + def __init__(self, bitmap, tile_index, width, height, dx, dy, shift_x, + shift_y): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CircuitPython/frequencyio.py Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,28 @@ +# -*- coding: utf-8 -*- + +# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de> +# + +""" +Module containing stubs for API generation of the 'frequencyio' module. +""" + +class FrequencyIn(): + def __init__(self, pin, capture_period=10): + pass + + def deinit(self): + pass + + def _pause(self): + pass + + def _resume(self): + pass + + def _clear(self): + pass + + @property + def capture_period(self): + pass
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/circuitpython.api Wed Aug 28 19:53:19 2019 +0200 @@ -0,0 +1,232 @@ +analogio.AnalogIn.deinit?4() +analogio.AnalogIn.reference_voltage?4() +analogio.AnalogIn.value?4() +analogio.AnalogIn?1(pin) +analogio.AnalogOut.deinit?4() +analogio.AnalogOut.value?4() +analogio.AnalogOut?1(pin) +audiobusio.I2SOut.deinit?4() +audiobusio.I2SOut.pause?4() +audiobusio.I2SOut.paused?4() +audiobusio.I2SOut.play?4(sample, *, loop=False) +audiobusio.I2SOut.playing?4() +audiobusio.I2SOut.resume?4() +audiobusio.I2SOut.stop?4() +audiobusio.I2SOut?1(bit_clock, word_select, data, *, left_justified) +audiobusio.PDMIn.deinit?4() +audiobusio.PDMIn.record?4(destination, destination_length) +audiobusio.PDMIn.sample_rate?4() +audiobusio.PDMIn?1(clock_pin, data_pin, *, sample_rate=16000, bit_depth=8, mono=True, oversample=64, startup_delay=0.11) +audiocore.Mixer.deinit?4() +audiocore.Mixer.play?4(sample, *, voice=0, loop=False) +audiocore.Mixer.playing?4() +audiocore.Mixer.sample_rate?4() +audiocore.Mixer.stop_voice?4(voice=0) +audiocore.Mixer?1(channel_count=2, buffer_size=1024) +audiocore.RawSample.deinit?4() +audiocore.RawSample.sample_rate?4() +audiocore.RawSample?1(buffer, *, channel_count=1, sample_rate=8000) +audiocore.WaveFile.bits_per_sample?4() +audiocore.WaveFile.channel_count?4() +audiocore.WaveFile.deinit?4() +audiocore.WaveFile.sample_rate?4() +audiocore.WaveFile?1(file, buffer=None) +audioio.AudioOut.deinit?4() +audioio.AudioOut.pause?4() +audioio.AudioOut.paused?4() +audioio.AudioOut.play?4(sample, *, loop=False) +audioio.AudioOut.playing?4() +audioio.AudioOut.resume?4() +audioio.AudioOut.stop?4() +audioio.AudioOut?1(left_channel, *, right_channel=None, quiescent_value=0x8000) +audiopwmio.PWMAudioOut.deinit?4() +audiopwmio.PWMAudioOut.pause?4() +audiopwmio.PWMAudioOut.paused?4() +audiopwmio.PWMAudioOut.play?4(sample, *, loop=False) +audiopwmio.PWMAudioOut.playing?4() +audiopwmio.PWMAudioOut.resume?4() +audiopwmio.PWMAudioOut.stop?4() +audiopwmio.PWMAudioOut?1(left_channel, *, right_channel=None, quiescent_value=0x8000) +bitbangio.I2C.deinit?4() +bitbangio.I2C.readfrom_into?4(address, buffer, *, start=0, end=None) +bitbangio.I2C.scan?4() +bitbangio.I2C.try_lock?4() +bitbangio.I2C.unlock?4() +bitbangio.I2C.writeto?4(address, buffer, *, start=0, end=None, stop=True) +bitbangio.I2C.writeto_then_readfrom?4(address, out_buffer, in_buffer, *, out_start=0, out_end=None, in_start=0, in_end=None) +bitbangio.I2C?1(scl, sda, *, frequency=400000, timeout) +bitbangio.OneWire.deinit?4() +bitbangio.OneWire.read_bit?4() +bitbangio.OneWire.reset?4() +bitbangio.OneWire.write_bit?4(value) +bitbangio.OneWire?1(pin) +bitbangio.SPI.configure?4(*, baudrate=100000, polarity=0, phase=0, bits=8) +bitbangio.SPI.deinit?4() +bitbangio.SPI.readinto?4(buf) +bitbangio.SPI.try_lock?4() +bitbangio.SPI.unlock?4() +bitbangio.SPI.write?4(buf) +bitbangio.SPI.write_readinto?4(buffer_out, buffer_in, *, out_start=0, out_end=None, in_start=0, in_end=None) +bitbangio.SPI?1(clock, MOSI=None, MISO=None) +bleio.Adapter.address?4() +bleio.Adapter.default_name?4() +bleio.Adapter.enabled?4() +bleio.Address.PUBLIC?7 +bleio.Address.RANDOM_PRIVATE_NON_RESOLVABLE?7 +bleio.Address.RANDOM_PRIVATE_RESOLVABLE?7 +bleio.Address.RANDOM_STATIC?7 +bleio.Address.address_bytes?4() +bleio.Address.type?4() +bleio.Address?1(address, address_type) +bleio.Attribute.ENCRYPT_NO_MITM?7 +bleio.Attribute.ENCRYPT_WITH_MITM?7 +bleio.Attribute.LESC_ENCRYPT_WITH_MITM?7 +bleio.Attribute.NO_ACCESS?7 +bleio.Attribute.OPEN?7 +bleio.Attribute.SIGNED_NO_MITM?7 +bleio.Attribute.SIGNED_WITH_MITM?7 +bleio.Central.connect?4(address, timeout, *, service_uuids_whitelist=None) +bleio.Central.connected?4() +bleio.Central.disconnect?4() +bleio.Central.discover_remote_services?4(service_uuids_whitelist=None) +bleio.Central?1() +bleio.Characteristic.BROADCAST?7 +bleio.Characteristic.INDICATE?7 +bleio.Characteristic.NOTIFY?7 +bleio.Characteristic.READ?7 +bleio.Characteristic.WRITE?7 +bleio.Characteristic.WRITE_NO_RESPONSE?7 +bleio.Characteristic.descriptors?4() +bleio.Characteristic.properties?4() +bleio.Characteristic.service?4(read_only) +bleio.Characteristic.set_cccd?4(*, notify=False, indicate=False) +bleio.Characteristic.uuid?4() +bleio.Characteristic.value?4() +bleio.Characteristic?1(uuid, *, properties=0, read_perm=Attribute.OPEN, write_perm=Attribute.OPEN, max_length=20, fixed_length=False, descriptors=None) +bleio.CharacteristicBuffer.deinit?4() +bleio.CharacteristicBuffer.in_waiting?4() +bleio.CharacteristicBuffer.read?4(nbytes=None) +bleio.CharacteristicBuffer.readinto?4(buf) +bleio.CharacteristicBuffer.readline?4() +bleio.CharacteristicBuffer.reset_input_buffer?4() +bleio.CharacteristicBuffer?1(characteristic, *, timeout=1, buffer_size=64) +bleio.Descriptor.characteristic?4(read_only) +bleio.Descriptor.uuid?4() +bleio.Descriptor.value?4() +bleio.Descriptor?1(uuid, *, read_perm=Attribute.OPEN, write_perm=Attribute.OPEN) +bleio.Peripheral.connected?4(read_only) +bleio.Peripheral.disconnect?4() +bleio.Peripheral.discover_remote_services?4(service_uuids_whitelist=None) +bleio.Peripheral.name?4() +bleio.Peripheral.pair?4() +bleio.Peripheral.services?4() +bleio.Peripheral.start_advertising?4(data, *, scan_response=None, connectable=True, interval=1) +bleio.Peripheral.stop_advertising?4() +bleio.Peripheral?1(services=(), *, name=None) +bleio.ScanEntry.address?4() +bleio.ScanEntry.advertisement_bytes?4() +bleio.ScanEntry.rssi?4() +bleio.Scanner.scan?4(timeout, *, interval=0.1, window=0.1) +bleio.Scanner?1() +bleio.Service.remotes?4() +bleio.Service.secondarys?4() +bleio.Service.uuids?4() +bleio.Service?1(uuid, characteristics, *, secondary=False) +bleio.UUID.size?4() +bleio.UUID.uuid128?4() +bleio.UUID.uuid16?4() +bleio.UUID?1(value) +bleio.adapter?7 +board.I2C?4() +board.SPI?4() +board.UART?4() +busio.I2C.deinit?4() +busio.I2C.readfrom_into?4(address, buffer, *, start=0, end=None) +busio.I2C.scan?4() +busio.I2C.try_lock?4() +busio.I2C.unlock?4() +busio.I2C.writeto?4(address, buffer, *, start=0, end=None, stop=True) +busio.I2C?1(scl, sda, *, frequency=400000) +busio.OneWire.deinit?4() +busio.OneWire.read_bit?4() +busio.OneWire.reset?4() +busio.OneWire.write_bit?4(value) +busio.OneWire?1(pin) +busio.SPI.configure?4(*, baudrate=100000, polarity=0, phase=0, bits=8) +busio.SPI.deinit?4() +busio.SPI.frequency?4() +busio.SPI.readinto?4(buffer, *, start=0, end=None, write_value=0) +busio.SPI.try_lock?4() +busio.SPI.unlock?4() +busio.SPI.write?4(buffer, *, start=0, end=None) +busio.SPI.write_readinto?4(buffer_out, buffer_in, *, out_start=0, out_end=None, in_start=0, in_end=None) +busio.SPI?1(clock, MOSI=None, MISO=None) +busio.UART.baudrate?4() +busio.UART.deinit?4() +busio.UART.in_waiting?4() +busio.UART.read?4(nbytes=None) +busio.UART.readinto?4(buf) +busio.UART.readline?4() +busio.UART.reset_input_buffer?4() +busio.UART.write?4(buf) +busio.UART?1(x, rx, *, baudrate=9600, bits=8, parity=None, stop=1, timeout=1, receiver_buffer_size=64) +digitalio.DigitalInOut.deinit?4() +digitalio.DigitalInOut.direction?4() +digitalio.DigitalInOut.drive_mode?4() +digitalio.DigitalInOut.pull?4() +digitalio.DigitalInOut.switch_to_input?4(pull=None) +digitalio.DigitalInOut.switch_to_output?4(value=False, drive_mode=DriveMode.PUSH_PULL) +digitalio.DigitalInOut.value?4() +digitalio.DigitalInOut?1(pin) +digitalio.DriveMode.OPEN_DRAIN?7 +digitalio.DriveMode.PUSH_PULL?7 +digitalio.Pull.DOWN?7 +digitalio.Pull.UP?7 +displayio.Bitmap.height?4() +displayio.Bitmap.width?4() +displayio.Bitmap?1(width, height, value_count) +displayio.ColorConverter.convert?4(color) +displayio.ColorConverter?1() +displayio.Display.auto_brightness?4() +displayio.Display.brightness?4() +displayio.Display.bus?4() +displayio.Display.height?4() +displayio.Display.refresh_soon?4() +displayio.Display.show?4(group) +displayio.Display.wait_for_frame?4() +displayio.Display.width?4() +displayio.Display?1(display_bus, init_sequence, *, width, height, colstart=0, rowstart=0, rotation=0, color_depth=16, set_column_command=0x2a, set_row_command=0x2b, write_ram_command=0x2c, set_vertical_scroll=0, backlight_pin=None, brightness=1.0, auto_brightness=False, single_byte_bounds=False, data_as_commands=False) +displayio.FourWire.send?4(command, data) +displayio.FourWire?1(spi_bus, *, command, chip_select, reset=None) +displayio.Group.append?4(layer) +displayio.Group.insert?4(index, layer) +displayio.Group.pop?4(i=-1) +displayio.Group.scale?4() +displayio.Group.x?4() +displayio.Group.y?4() +displayio.Group?1(*, max_size=4, scale=1, x=0, y=0) +displayio.OnDiskBitmap.height?4() +displayio.OnDiskBitmap.width?4() +displayio.OnDiskBitmap?1(file) +displayio.Palette.make_opaque?4(palette_index) +displayio.Palette.make_transparent?4(palette_index) +displayio.Palette?1(color_count) +displayio.ParallelBus.send?4(command, data) +displayio.ParallelBus?1(*, data0, command, chip_select, write, read, reset) +displayio.Shape.set_boundary?4(y, start_x, end_x) +displayio.Shape?1(width, height, *, mirror_x=False, mirror_y=False) +displayio.TileGrid.pixel_shader?4() +displayio.TileGrid.x?4() +displayio.TileGrid.y?4() +displayio.TileGrid?1(bitmap, *, pixel_shader, width=1, height=1, tile_width=None, tile_height=None, default_tile=0, x=0, y=0) +displayio.release_displays?4() +fontio.BuiltinFont.bitmap?4() +fontio.BuiltinFont.get_bounding_box?4() +fontio.BuiltinFont.get_glyph?4(codepoint) +fontio.Glyph?1(bitmap, tile_index, width, height, dx, dy, shift_x, shift_y) +frequencyio.FrequencyIn._clear?5() +frequencyio.FrequencyIn._pause?5() +frequencyio.FrequencyIn._resume?5() +frequencyio.FrequencyIn.capture_period?4() +frequencyio.FrequencyIn.deinit?4() +frequencyio.FrequencyIn?1(pin, capture_period=10)
--- a/create_api.sh Tue Aug 27 12:30:14 2019 +0200 +++ b/create_api.sh Wed Aug 28 19:53:19 2019 +0200 @@ -2,3 +2,4 @@ ~/py3qt5env/bin/eric6_api -o microbit.api -r -i Microbit ~/py3qt5env/bin/eric6_api -o micropython.api -r -i MicroPython +~/py3qt5env/bin/eric6_api -o circuitpython.api -r -i CircuitPython
--- a/micropython.e4p Tue Aug 27 12:30:14 2019 +0200 +++ b/micropython.e4p Wed Aug 28 19:53:19 2019 +0200 @@ -13,6 +13,19 @@ <Email>detlev@die-offenbachs.de</Email> <Eol index="1"/> <Sources> + <Source>CircuitPython/analogio.py</Source> + <Source>CircuitPython/audiobusio.py</Source> + <Source>CircuitPython/audiocore.py</Source> + <Source>CircuitPython/audioio.py</Source> + <Source>CircuitPython/audiopwmio.py</Source> + <Source>CircuitPython/bitbangio.py</Source> + <Source>CircuitPython/bleio.py</Source> + <Source>CircuitPython/board.py</Source> + <Source>CircuitPython/busio.py</Source> + <Source>CircuitPython/digitalio.py</Source> + <Source>CircuitPython/displayio.py</Source> + <Source>CircuitPython/fontio.py</Source> + <Source>CircuitPython/frequencyio.py</Source> <Source>MicroPython/array.py</Source> <Source>MicroPython/btree.py</Source> <Source>MicroPython/cmath.py</Source> @@ -65,6 +78,8 @@ </Sources> <Others> <Other>.hgignore</Other> + <Other>circuitpython.api</Other> + <Other>circuitpython.bas</Other> <Other>create_api.sh</Other> <Other>microbit.api</Other> <Other>microbit.bas</Other>