Drive the LED_PWM line of the left half via TPM which doesn't work yet for some reason. Add protocol command for setting the LED_PWM brightness of the left half. Expose UpdateUsbReports()

This commit is contained in:
László Monda
2017-01-13 21:43:47 +01:00
parent 0ded50b43a
commit 9ef9e5f734
10 changed files with 89 additions and 8 deletions

View File

@@ -6,6 +6,7 @@
#include "fsl_i2c.h"
#include "fsl_clock.h"
#include "i2c.h"
#include "led_pwm.h"
void InitI2c() {
port_pin_config_t pinConfig = {
@@ -41,5 +42,6 @@ void InitPeripherials(void)
{
InitLedDriver();
InitTestLed();
LedPwm_Init();
InitI2c();
}