linux: Add support for pca9685 i2c pwm devices

Add support for controlling pca9685 PWM drivers using the standard
Linux I2C interface.  The pca9685 device is found on Replicape boards.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2017-08-06 11:20:12 -04:00
parent d851882278
commit 73a1c9d249
4 changed files with 210 additions and 2 deletions

View File

@@ -5,6 +5,8 @@
#include <time.h> // struct timespec
// console.c
void report_errno(char *where, int rc);
int set_non_blocking(int fd);
int console_setup(char *name);
void console_sleep(struct timespec ts);