4 errors
Dependencies: KS0108_PCF8574 mbed
Diff: menbed/menbedMenuMessage.cpp
- Revision:
- 3:ec80bb6ff5da
- Parent:
- 0:936f1c020120
diff -r 66e4ebaba5df -r ec80bb6ff5da menbed/menbedMenuMessage.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/menbed/menbedMenuMessage.cpp Tue Sep 11 10:21:10 2012 +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; +}