A classy affair
Dependencies: mbed mbed-rtos ShiftReg TextLCD
Interface/Interface.cpp
- Committer:
- thomasmorris
- Date:
- 2019-04-11
- Revision:
- 5:20decc99e50c
- Parent:
- 4:1ef122d47bf3
File content as of revision 5:20decc99e50c:
#include "Interface.hpp" //Define the variables here Serial PC(PB_10, PB_11); //TX, RX TextLCD Lcd(PB_12, PB_13, PB_14, PB_15, PA_8, PA_9); // rs, e, d4-d7 INTERFACE::INTERFACE(){} INTERFACE::~INTERFACE(){} void INTERFACE::Init(){} int INTERFACE::Post() { return 1;//Success } void INTERFACE::Serial() { while(1) { PC.printf("Testing Serial\n"); Thread::wait(1000); } } void INTERFACE::LCD() { while(1) { Lcd.printf("Testing\nINTERFACE"); Thread::wait(1000); } }