6 x 7 segment display library for PCA9637 driven breakout board

Dependents:   FTSE100 InternetDispBoB digitalThermometer Counter ... more

Revision:
8:a875c4229c57
Parent:
7:adcfb0f5e4de
Child:
9:44de04d410df
diff -r adcfb0f5e4de -r a875c4229c57 dispBoB.h
--- a/dispBoB.h	Wed Jun 29 14:02:47 2011 +0000
+++ b/dispBoB.h	Wed Jun 29 14:08:42 2011 +0000
@@ -57,7 +57,7 @@
     /** Put an ASCII encoded character onto display at specified location
     *
     * @param c ASCII encoded character or number
-    * @param pos display location lef to right (0-5)  
+    * @param pos display location left to right (0-5)  
     */
     void write(string str);
     /** Write a scrolling string (right to left) to display 
@@ -66,6 +66,11 @@
     * @param speed duration of each frame (seconds)
     */
     void scroll(string str, float speed);
+    /** Same functionality as the bus() function on the PCA9635
+    *
+    * @param leds Set output according to parameter value - e.g. 0x0003 >> p0 & p1 high, rest low 
+    */
+    void bus(short leds);
     
 private: