6 x 7 segment display library for PCA9637 driven breakout board

Dependents:   FTSE100 InternetDispBoB digitalThermometer Counter ... more

Revision:
13:38780808dc2f
Parent:
12:2235c72db927
Child:
14:10570d97f4d3
--- a/dispBoB.cpp	Fri Jul 01 16:28:56 2011 +0000
+++ b/dispBoB.cpp	Mon Jul 04 08:42:21 2011 +0000
@@ -124,6 +124,12 @@
     _pca.bus(leds);
 }
 
+void dispBoB::brightness(char value){
+    for(int i = 0; i < 3; i++){
+        _pca.setAddress(loc[i]);
+        _pca.brightness(0xFF, value);
+    }
+}
 
 
 
@@ -131,3 +137,4 @@
 
 
 
+