this locks like shit

Dependencies:   MenuLCD mbed

Fork of MenuLCD_copy by Vinícius Alves

menbed/menbedMenuMessage.cpp

Committer:
LucasMatBorges
Date:
2017-05-19
Revision:
1:f105b690aeb7
Parent:
0:92357d1220f3

File content as of revision 1:f105b690aeb7:

#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;
}