Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: PCA9626_Hello PCA9624_Hello PCA9622_Hello
Diff: PCA9624/PCA9624.h
- Revision:
- 1:6fcc4f604988
- Parent:
- 0:7a206e6db594
- Child:
- 3:40f83904f0a8
diff -r 7a206e6db594 -r 6fcc4f604988 PCA9624/PCA9624.h
--- a/PCA9624/PCA9624.h Thu Feb 26 09:16:41 2015 +0000
+++ b/PCA9624/PCA9624.h Sat Feb 28 23:09:44 2015 +0000
@@ -8,7 +8,7 @@
* @version 0.5
* @date 26-Feb-2015
*
- * Released under the Apache 2 license License
+ * Released under the Apache 2 license
*
* About PCA9624:
* http://www.nxp.com/products/lighting_driver_and_controller_ics/i2c_led_display_control/series/PCA9624.html
@@ -66,7 +66,7 @@
PWM_REGISTER_START = PWM0,
};
- /** Create a PCA9629A instance connected to specified I2C pins with specified address
+ /** Create a PCA9624 instance connected to specified I2C pins with specified address
*
* @param i2c_sda I2C-bus SDA pin
* @param i2c_sda I2C-bus SCL pin
@@ -74,7 +74,7 @@
*/
PCA9624( PinName i2c_sda, PinName i2c_scl, char i2c_address = PCA962x::DEFAULT_I2C_ADDR );
- /** Create a PCA9629A instance connected to specified I2C pins with specified address
+ /** Create a PCA9624 instance connected to specified I2C pins with specified address
*
* @param i2c_obj I2C object (instance)
* @param i2c_address I2C-bus address (default: 0xC0)
@@ -100,7 +100,7 @@
* 'ALLPORTS' can be used to set all port duty-cycle same value.
* @param v A floating-point value representing the output duty-cycle,
* specified as a percentage. The value should lie between
- * 0.0f (representing on 0%) and 1.0f (representing on 100%).
+ * 0.0f (representing on 0%) and 1.0f (representing on 99.6%).
* Values outside this range will have undefined behavior.
*/
void pwm( int port, float v );
@@ -109,7 +109,7 @@
*
* @param vp Aray to floating-point values representing the output duty-cycle,
* specified as a percentage. The value should lie between
- * 0.0f (representing on 0%) and 1.0f (representing on 100%).
+ * 0.0f (representing on 0%) and 1.0f (representing on 99.6%).
*
* @note
* The aray should have length of 8
PCA9622, PCA9624, PCA9626 : 8, 16 & 24ch LED driver (Voltage switch type)