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: base_class/CompLedDvr/LedPwmOut.cpp
- Revision:
- 4:3292bb647b67
- Parent:
- 3:40f83904f0a8
- Child:
- 5:2dff44b89915
diff -r 40f83904f0a8 -r 3292bb647b67 base_class/CompLedDvr/LedPwmOut.cpp
--- a/base_class/CompLedDvr/LedPwmOut.cpp Wed Mar 04 05:59:40 2015 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,23 +0,0 @@
-#include "mbed.h"
-#include "LedPwmOut.h"
-
-LedPwmOut::LedPwmOut( CompLedDvr &ledp, LedPinName pin_name )
- : leddvrp( &ledp ), pin( pin_name )
-{
- pwm( 0.0 );
-}
-
-LedPwmOut::~LedPwmOut()
-{
-}
-
-void LedPwmOut::pwm( float v )
-{
- leddvrp->pwm( pin, v );
-}
-
-LedPwmOut& LedPwmOut::operator=( float rhs )
-{
- pwm( rhs );
- return ( *this );
-}
\ No newline at end of file
PCA9622, PCA9624, PCA9626 : 8, 16 & 24ch LED driver (Voltage switch type)