GithubHelp home page GithubHelp logo

Comments (5)

haata avatar haata commented on May 28, 2024

The TX0 and RX0 is a UART device (second drop infinity). Currently this is
used as an optional debug terminal (when USB isn't working correctly). By
default it's disabled.
If you don't mind writing C code, You should be able to control PTA1 and
PTA2.

On Sat, May 30, 2015 at 6:26 PM Steven Lu [email protected] wrote:

I am wondering if there are pins I can use to access the serial interface?
I am thinking about having a separate MCU with its own display or colored
LEDs that I can use to show the layer and lock statuses that the keyboard
is in. You know, because infinity keyboard only has a single LED, and it's
on the bottom and not really bright.


Reply to this email directly or view it on GitHub
#43.

from controller.

unphased avatar unphased commented on May 28, 2024

That almost sounds like an answer in the affirmative but could you maybe elaborate a tiny bit? Say I want to drive some LEDs with a teensy or arduino, could I hook that up to the P2 header (which has TX0 and RX0) and read out key state info? Would I be able to just leverage the interactive serial command line (the one where I can type help, but i guess I'd have to write a routine for this to use to switch on a mode that provides debug feedback for when layer state switches)?

I suppose allocating a few of the unused GPIOs, to indicate the layer state, for connecting to LEDs, would make for a generally more practical approach

from controller.

haata avatar haata commented on May 28, 2024

So there are a few ways. One would be to add additional commands to the cli, enable the debug UART and use that to query information (as long as not done too rapidly as it's a performance hit to access the cli).

You could also design your own serial interface (more efficient protocol).

You could use the 4 GPIO (RX0, TX0, SWDIO and SWDCKL) to indicate state as well.
Basically any attempt will require at least some modifications to the keyboard firmware (I happily accept patches :D)

from controller.

unphased avatar unphased commented on May 28, 2024

Great, sounds like a handful though, i won't be able to go down this path until I can get the keyboard running in the way that I want first (with a bunch of fancy layers of course)

from controller.

thjwong avatar thjwong commented on May 28, 2024

(Sorry to reply to this really old issue)

I wonder if there has been any progress in terms of some users have already connected the LEDs (for underglow or for status indicators) and modified the code to incorporate the required LED firmware to implement that function.

I have a IC60 pcb without the 4-pins next to the reset button, and I need a pointer where the LEDs can be soldered to.

from controller.

Related Issues (20)

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.