pwm period is now 200us instead of the default 20ms veml6040 config is now AF_BIT | TRIG_BIT

Dependencies:   mbed MMA8451Q USBDevice WakeUp vt100

Fork of afero_node_suntory_2017_06_15 by Orefatoi

Revision:
0:20bce0dcc921
Child:
1:b2a9a6f2c30e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/spi/mbedSPI.h	Tue Dec 20 01:51:02 2016 +0000
@@ -0,0 +1,20 @@
+#ifndef _MBEDSPI_H_
+#define _MBEDSPI_H_
+
+#include "mbed.h"
+#include "afSPI.h"
+#include "pin_defines.h"
+
+class mbedSPI : public afSPI {
+    public:
+        mbedSPI();
+        virtual void begin();
+        virtual void beginSPI();
+        virtual void endSPI();
+        virtual void transfer(char *bytes,int len);
+    private:
+        SPI spi;
+        DigitalOut cs;
+};
+
+#endif //_MBEDSPI_H_
\ No newline at end of file