![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Hackathon
Dependencies: C12832 CCS811 MMA7660 Sht31 TSL2561
Fork of Mbed-Connect-Cloud-Demo by
Revision 2:f925673156ee, committed 2017-11-25
- Comitter:
- lwc24
- Date:
- Sat Nov 25 11:40:27 2017 +0000
- Parent:
- 1:6791f0504ab0
- Commit message:
- My first test
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Nov 09 12:36:44 2017 -0600 +++ b/main.cpp Sat Nov 25 11:40:27 2017 +0000 @@ -19,14 +19,22 @@ #include "MMA7660.h" // GLOBAL VARIABLES HERE +C12832 lcd(PE_14, PE_12, PD_12, PD_11, PE_9); // FUNCTION DEFINTIONS HERE +void lcd_print(const char* message) { + lcd.cls(); + lcd.locate(0, 3); + lcd.printf(message); +} + int main() { // MAIN CODE HERE +lcd_print("Hello World!"); }