[atreus] Re: Adding RGB underglow?

  • From: Phil Hagelberg <phil@xxxxxxxxxx>
  • To: atreus@xxxxxxxxxxxxx
  • Date: Sat, 23 Apr 2016 08:02:04 +0700

Nalif <kagato99@xxxxxxxxx> writes:

Is there anyone else out there who has done this? I don't know how to
accomplish freeing up a PWM capable pin. What would be required to do
this?

I don't have much in terms of details about QMK, but the technique for
opening up a PWM pin is something I've done before. Take a look at the
pinout at https://atreus.technomancy.us/astar.jpg and pick a PWM-capable
pin; let's say it's 5, aka PC6. Don't connect 5 to the main PCB during
assembly; instead run some hookup wire from the PCB pin that's supposed
to go to 5 and bring it around to 15, aka PB1. Since 5 is open, you can
run it to your LED strip with hookup wire.

You'll have to modify matrix.c in the firmware to change the pin that
was reading PC6 to using PB1; I believe this is the "case 1" clause of
the select_col function in TMK, but since I haven't used QMK I couldn't
say whether it would work exactly the same way.

-Phil

Attachment: signature.asc
Description: PGP signature

Other related posts: