Giter Site home page Giter Site logo

arturo182_circuitpython_bbq10keyboard's Introduction

Introduction

CircuitPython library for interfacing the BB Q10 Keyboard over I2C.

The firmware that this library should be used with can be found here: https://github.com/arturo182/bbq10kbd_i2c_sw

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Usage Example

See examples/ for a quick examples on how to use the library.

arturo182_circuitpython_bbq10keyboard's People

Contributors

arturo182 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

arturo182_circuitpython_bbq10keyboard's Issues

OSError on rp2040 w/ CircuitPython 7.3.3

When trying to use this library on an rp2040 (specifically the Adafruit Feather rp2040) I get this traceback:

Traceback (most recent call last):
  File "code.py", line 70, in <module>
  File "bbq10keyboard.py", line 116, in key_count
  File "bbq10keyboard.py", line 109, in status
OSError: [Errno 19] No such device

Snippit of my code:

command = ''

def handle_keyboard(pressed):

    if pressed == '\b':
        command = command[:l-1]
    elif pressed == 10: #enter
        command = ''
    else:
        command = command + pressed

    time.sleep(0.03)

while True:
    key_count = kbd.key_count
    if key_count > 0:
        key = kbd.key
        handle_keyboard(key)

I have tried with CircuitPython 7.3.3 and 8.0.0-beta.0 and I get the same result each time.

(FYI: I suspect this might be an issue with CircuitPython, as it seems related to this. Just wanted to document this so you know! <3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.