![]() |
LibDriver PCA9685
1.0.0
PCA9685 full-featured driver
|
driver pca9685 basic header file More...
#include "driver_pca9685_interface.h"
Go to the source code of this file.
Macros | |
#define | PCA9685_BASIC_DEFAULT_RESPOND_SUBADDRESS_1 PCA9685_BOOL_FALSE |
pca9685 basic example default definition More... | |
#define | PCA9685_BASIC_DEFAULT_RESPOND_SUBADDRESS_2 PCA9685_BOOL_FALSE |
#define | PCA9685_BASIC_DEFAULT_RESPOND_SUBADDRESS_2 PCA9685_BOOL_FALSE |
#define | PCA9685_BASIC_DEFAULT_RESPOND_ALL_CALL PCA9685_BOOL_FALSE |
#define | PCA9685_BASIC_DEFAULT_OUTPUT_INVERT PCA9685_BOOL_FALSE |
#define | PCA9685_BASIC_DEFAULT_OUTPUT_CHANGE PCA9685_OUTPUT_CHANGE_STOP |
#define | PCA9685_BASIC_DEFAULT_OUTPUT_DRIVER PCA9685_OUTPUT_DRIVER_TOTEM_POLE |
#define | PCA9685_BASIC_DEFAULT_OUTPUT_DISABLE_TYPE PCA9685_OUTPUT_DISABLE_TYPE_HIGH_IMPEDANCE |
#define | PCA9685_BASIC_DEFAULT_ALL_CALL_ADDRESS 0xE0 |
#define | PCA9685_BASIC_DEFAULT_SUBADDRESS_1 0xE2 |
#define | PCA9685_BASIC_DEFAULT_SUBADDRESS_2 0xE4 |
#define | PCA9685_BASIC_DEFAULT_SUBADDRESS_3 0xE8 |
Functions | |
uint8_t | pca9685_basic_init (pca9685_address_t addr, uint16_t hz) |
basic example init More... | |
uint8_t | pca9685_basic_deinit (void) |
basic example deinit More... | |
uint8_t | pca9685_basic_write (pca9685_channel_t channel, float delay_percent, float high_duty_cycle_percent) |
basic example write More... | |
driver pca9685 basic header file
Copyright (c) 2015 - present LibDriver All rights reserved
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Date | Version | Author | Description |
---|---|---|---|
2022/02/20 | 1.0 | Shifeng Li | first upload |
Definition in file driver_pca9685_basic.h.