Comments (5)
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.
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.
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.
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.
(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)
- Method for toggling a set of LEDs off/on?
- Colours differ between sections of the underlighting on Gemini HOT 1
- Stretch Rainbow Animations
- K-Type enters flashing mode when using Ultimaker Cura HOT 5
- Mouse Key Control - Ergodox Infinity
- Creating custom KLL files
- Errors running ergodox.bash HOT 2
- GEMINI RGUI (possibly MENU as well) remap issue due to layout mismatch HOT 2
- Support for Aurora RGB sync HOT 3
- Macro "CapsLock" + "I" produces extra letters HOT 1
- Support for fwupd - Linux Vendor Firmware Service HOT 12
- Hexgears Gemini white backlighting not white HOT 2
- Kira LEDS go into a continous blinking loop (red, blue, green on different parts of the keyboard) HOT 5
- K-Type not detected in flash mode
- Kira - Multiple issues flashing the firmware HOT 2
- HID-IO as a replacement for CDC Virtual Serial Port? HOT 1
- Docker Missing CMakeLists.txt HOT 1
- Slow initialization and /dev/ttyACM0 no longer available after flashing with updated controller
- How do I map right alt to emit Fn? HOT 1
- Cannot install libusbK driver
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from controller.