Dialog DA7212 evaluating project DEVELOP branch

Dependencies:   FXAS21002 TLV320 mbed sinelookup C12832 FXOS8700

Revision:
5:f1907e4d1147
Parent:
2:3e6fb6a1f3ef
Child:
8:42093f0e5d9e
--- a/main.cpp	Thu Mar 24 01:18:16 2016 +0900
+++ b/main.cpp	Thu Mar 24 02:41:44 2016 +0900
@@ -4,9 +4,17 @@
  */
 #include "mbed.h"
 #include "sinelookup.h"
-//#include "TLV320.h"
+// #include "TLV320.h"
 // #include "DA7212.h"
-//#include "I2S.h"
+// #include "I2S.h"
+// #include "C12832.h"
+
+// C12832 lcd(D11, D13, D12, D7, D10);
+// C12832 lcd(PTD2, PTD1, PTD3, PTC3, PTD0);
+// AnalogIn pot1 (A0);
+// AnalogIn pot2 (A1);
+// AnalogIn pot1 (PTB2);
+// AnalogIn pot2 (PTB3);
 
 #define SAMPLERATE 32000
 
@@ -92,3 +100,21 @@
     }
 
 }
+// #include "C12832.h"
+//
+// C12832 lcd(D11, D13, D12, D7, D10);
+//
+// AnalogIn pot1 (A0);
+// AnalogIn pot2 (A1);
+//
+// int main()
+// {
+//     while(1) {
+//         lcd.cls();
+//         lcd.locate(0,3);
+//         lcd.printf("Pot 1 = %.2f", (float)pot1);
+//         lcd.locate(0,14);
+//         lcd.printf("Pot 2 = %.2f", (float)pot2);
+//         wait(0.1);
+//     }
+// }