Vinícius Alves
/
MenuLCD_copy
Então PARA...
menbed/menbedMenuMessage.cpp@0:92357d1220f3, 2017-05-19 (annotated)
- Committer:
- ViniR
- Date:
- Fri May 19 13:07:52 2017 +0000
- Revision:
- 0:92357d1220f3
Ent?o PARA...
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 | } |