Hackathon
Dependencies: C12832 CCS811 MMA7660 Sht31 TSL2561
Fork of Mbed-Connect-Cloud-Demo by
main.cpp
- Committer:
- lwc24
- Date:
- 2017-11-25
- Revision:
- 2:f925673156ee
- Parent:
- 0:801b555a3dd8
File content as of revision 2:f925673156ee:
//---------------------------------------------------------------------------- // The confidential and proprietary information contained in this file may // only be used by a person authorised under and to the extent permitted // by a subsisting licensing agreement from ARM Limited or its affiliates. // // (C) COPYRIGHT 2016 ARM Limited or its affiliates. // ALL RIGHTS RESERVED // // This entire notice must be reproduced on all copies of this file // and copies of this file may only be made by a person if such person is // permitted to do so under the terms of a subsisting license agreement // from ARM Limited or its affiliates. //---------------------------------------------------------------------------- #include "mbed.h" #include "C12832.h" #include "CCS811.h" #include "Sht31.h" #include "TSL2561.h" #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!"); }