[−][src]Crate pca9685_lib
Modules
mode1 | MODE1 bits |
mode2 | MODE2 bits |
Structs
PCA9685 | A representation of a PCA9685 Chip |
Constants
ALLCALLADR | LED All Call I2C-bus address |
ALL_LED_OFF_H | Where to turn all signals off, high byte |
ALL_LED_OFF_L | Where to turn all signals off, low byte |
ALL_LED_ON_H | Where to turn all signals on, high byte |
ALL_LED_ON_L | Where to turn all signals on, low byte |
FREQUENCY_OSCILLATOR | Int. osc. frequency in datasheet |
LED0_ON_L | Where to turn the signal on, low byte |
LED0_ON_H | Where to turn the signal on, high byte |
LED0_OFF_L | Where to turn the signal off, low byte |
LED0_OFF_H | Where to turn the signal off, high byte |
MODE1 | Mode Register 1 |
MODE2 | Mode Register 2 |
PRESCALE_MAX | Maximum prescale value |
PRESCALE_MIN | Minimum prescale value |
PRE_SCALE | Prescaler for PWM Output frequency |
SUBADR1 | I2C-Bus subaddress 1 |
SUBADR2 | I2C-Bus subaddress 2 |
SUBADR3 | I2C-Bus subaddress 3 |
TESTMODE | Defines the test mode to be entered DO NOT USE |
Functions
prescale_from_freq | Gets a prescale value for the chip from a given frequency |