Light on Neo Trinkey when a BLE device is connected

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
LikeABoat
 
Posts: 4
Joined: Mon Jul 11, 2016 8:35 am

Light on Neo Trinkey when a BLE device is connected

Post by LikeABoat »

I'm using a Logitech K780 keyboard connected through BLE to two computers. It has three buttons to switch which device it connects to. There are lights on the keys but they only light up while connected. I'm often typing on the wrong computer as I switch back and forth.

I'd like to use the New Trinkey above each monitor to be Green when the keyboard is connected and Red when it is not. Any thoughts on how I could do this? I can see the status in Windows Device Manager.

User avatar
adafruit_support_mike
 
Posts: 67391
Joined: Thu Feb 11, 2010 2:51 pm

Re: Light on Neo Trinkey when a BLE device is connected

Post by adafruit_support_mike »

Generally speaking, you'd have to write a program that sits in the background and watches device connections, and knows how to send information to the Neo Trinkey.

You can probably do that in Python, but you'll need to read the Windows documentation to see exactly what's necessary.

Locked
Please be positive and constructive with your questions and comments.

Return to “Trinket ATTiny, Trinket M0”