
Dialog DA7212 evaluating project DEVELOP branch
Dependencies: FXAS21002 TLV320 mbed sinelookup C12832 FXOS8700
Revision 5:f1907e4d1147, committed 2016-03-24
- Comitter:
- K4zuki
- Date:
- Thu Mar 24 02:41:44 2016 +0900
- Parent:
- 2:3e6fb6a1f3ef
- Child:
- 6:3ff6c815bb31
- Commit message:
- add LCD sample code(commented out)
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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); +// } +// }