Commit Graph

17 Commits

Author SHA1 Message Date
László Monda
0ded50b43a PWM the R_EXT of the LED driver using FTM. 2017-01-13 14:58:31 +01:00
László Monda
f6a8c56f61 Enable the FET to drive LED_PWM at full blast. 2017-01-09 18:57:20 +01:00
László Monda
24cdab4be2 Enable only the existing LEDs via LED control registers rather than PWM registers. 2017-01-09 17:16:12 +01:00
László Monda
e12996d444 Light up every LED without screwing up I2C communication. 2017-01-09 15:00:57 +01:00
László Monda
c44d75f1bc Enable as many LED rows as possible without interfering with I2C communication. 2017-01-09 02:40:20 +01:00
László Monda
af1741ae4e Use I2cRead() and I2cWrite() wherever possible. 2017-01-02 19:29:13 +01:00
László Monda
f66eb06712 Coding style fixes. 2016-12-12 00:21:39 +01:00
Gergely Nagy
5ee11c2f8f LEDs: Add a method to set all LEDs to a given brightness
Mostly for testing purposes, but can be used later for backlight up/down stuff,
too.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2016-12-11 09:57:48 +01:00
Robert Csordas
fc434c7857 Remove keyboard scanning from USB interrupt. Fix initial blink of LEDs when initializing. Coding style fixes. 2016-11-13 15:50:49 +01:00
Robert Csordas
6dc6c43238 Able to type. 2016-11-12 19:07:39 +01:00
László Monda
4742a0c661 Initialize clocks where they're actually needed. 2016-10-05 23:12:22 +02:00
László Monda
f0b63a6f7b Add reset_button.c and test_led.c. Clean up init_peripherials.c 2016-10-05 02:05:05 +02:00
László Monda
77f41c1655 Make WriteLedDriver() only send the payload to the target LED driver. 2016-09-27 22:55:01 +02:00
László Monda
7b3178a10a Generalize LED driver functions by adding I2C address parameters. 2016-09-26 21:37:29 +02:00
László Monda
7b1f6a37ff Add LED driver related macros instead of using magic numbers. 2016-09-26 21:19:35 +02:00
László Monda
2dd9aa87b0 Name a couple of I2C related variables more intuitively. 2016-09-26 20:33:03 +02:00
László Monda
b280fde8a5 Extract LED driver related functions to led_driver.[ch] 2016-09-26 20:28:12 +02:00