Git Product home page Git Product logo

Comments (5)

Gadgetoid avatar Gadgetoid commented on July 26, 2024

I think the typical approach to this - at least if you're not a vendor writing your own driver - is to use USB serial. I'm not sure how you'd go about doing this on CircuitPython alongside HID but I'd wager it's possible. Then you can use a Python script or similar to push serial status updates back to the device.

from keybow2040-circuitpython.

raspberryvalley avatar raspberryvalley commented on July 26, 2024

Thanks @Gadgetoid , appreciate the tip.

I have to sort it out and will share once I do. Thanks

from keybow2040-circuitpython.

mosch avatar mosch commented on July 26, 2024

@raspberryvalley did u come up with something here?

from keybow2040-circuitpython.

mschwld avatar mschwld commented on July 26, 2024

@mosch I solved a scenario similar to the one @raspberryvalley described using USB serial communications utilizing this https://circuitpython.readthedocs.io/en/latest/shared-bindings/usb_cdc/index.html. The Keybow2040 sends each number of a pressed key which will trigger certain actions on the host (which can also rerspect layer definitions). In return it receives updates in the form of [keynumber],[colorcode] to control the LEDs. I uploaded the code here: https://gist.github.com/mschwld/7e0e16fbc8a7dc6f24b5d31c1f946329.

from keybow2040-circuitpython.

Gadgetoid avatar Gadgetoid commented on July 26, 2024

A PR with an example of this technique would be appreciated over at - https://github.com/pimoroni/pmk-circuitpython

Thank you!

from keybow2040-circuitpython.

Related Issues (8)

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.