Second revision of test code for Polyathalon sensor board.

Dependencies:   mbed MODDMA

Revision:
0:13a7de7ce046
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tlc5916.cpp	Sat Nov 05 18:29:39 2011 +0000
@@ -0,0 +1,26 @@
+
+#include "mbed.h"
+#include "tlc5916.h"
+
+void
+TLC5916::write_reg(uint8_t byte)
+{
+    pinLE = 0;
+    spi.write(byte);
+    wait_us(1);
+    pinLE = 1;
+    wait_us(1);
+    pinLE = 0;
+}
+
+void
+TLC5916::enable(void)
+{
+    pinnOE = 0;
+}
+
+void
+TLC5916::disable(void)
+{
+    pinnOE = 1;
+}
\ No newline at end of file