Lucas Borges
/
MenuLCD_Copy
this locks like shit
Fork of MenuLCD_copy by
Diff: menbed/menbedMenuMessage.cpp
- Revision:
- 0:92357d1220f3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/menbed/menbedMenuMessage.cpp Fri May 19 13:07:52 2017 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" +#include "include/menbedMenuMessage.h" + +MenbedMenuMessage::MenbedMenuMessage (uint8_t numLines, uint8_t lineLength) +{ + text = new char[numLines * lineLength + 1]; +} + +MenbedMenuMessage::~MenbedMenuMessage() +{ + delete[] text; +}