Skip to content

C library for the NXP Semiconductors PCA9685 16-channel 12-bit PWM I2C-bus LED Controller.

License

Notifications You must be signed in to change notification settings

jordanhong/pca9685-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pca9685-c This is a C library to control the NXP Semiconductors PCA9685 16-channel 12-bit PWM I2C-bus LED Controller. The library includes an user interface which prompts the user to enter the device number (1-7), channel number(1-16), and specify a PWM value in percentage.

The library uses a MCP2221A (USB 2.0 to I2C/UART Protocol Converter) for I2C communication. The MCP2221A library is adapted and modified from zkemble/libmcp2221.

Status: Completed software component. MCP2221A device not handled.

Structure

  • IO: input/ output functions
  • PCA9685: majority of functions. Deals with programming the PCA9685 and writing to specific pins. Utilizes MCP2221A handles, but that part has not been tested yet. So far I have been using proxy functions (writing to text files)
  • MCP2221A: low level I2C library from microchip. Was not able to test on laptop.

About

C library for the NXP Semiconductors PCA9685 16-channel 12-bit PWM I2C-bus LED Controller.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published