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: digitalThermometer Counter SimpleClock printNumber ... more
Diff: PCA9635.cpp
- Revision:
- 7:5c10a0ccc663
- Parent:
- 6:3f35bdfec837
- Child:
- 9:48985b738e5a
--- a/PCA9635.cpp Wed Jun 29 08:39:19 2011 +0000
+++ b/PCA9635.cpp Wed Jun 29 08:43:42 2011 +0000
@@ -47,6 +47,9 @@
}
}
+void PCA9635::setAddress(int address){
+ m_addr = address;
+}
//Single LED On
void PCA9635::on(char led)
PCA9635 I2C IO Expander