Lucas Borges
/
MenuLCD_Copy
this locks like shit
Fork of MenuLCD_copy by
menbed/menbedMenuMessage.cpp@1:f105b690aeb7, 2017-05-19 (annotated)
- Committer:
- LucasMatBorges
- Date:
- Fri May 19 18:48:04 2017 +0000
- Revision:
- 1:f105b690aeb7
- Parent:
- 0:92357d1220f3
R?row mein
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ViniR | 0:92357d1220f3 | 1 | #include "mbed.h" |
ViniR | 0:92357d1220f3 | 2 | #include "include/menbedMenuMessage.h" |
ViniR | 0:92357d1220f3 | 3 | |
ViniR | 0:92357d1220f3 | 4 | MenbedMenuMessage::MenbedMenuMessage (uint8_t numLines, uint8_t lineLength) |
ViniR | 0:92357d1220f3 | 5 | { |
ViniR | 0:92357d1220f3 | 6 | text = new char[numLines * lineLength + 1]; |
ViniR | 0:92357d1220f3 | 7 | } |
ViniR | 0:92357d1220f3 | 8 | |
ViniR | 0:92357d1220f3 | 9 | MenbedMenuMessage::~MenbedMenuMessage() |
ViniR | 0:92357d1220f3 | 10 | { |
ViniR | 0:92357d1220f3 | 11 | delete[] text; |
ViniR | 0:92357d1220f3 | 12 | } |