LPC1768 programm for the led matrix.
Dependencies: BufferedSerial DS3231 mbed-rtos mbed
Diff: main.cpp
- Revision:
- 3:bd1352d4dbb8
- Parent:
- 2:d5472e4a55bf
--- a/main.cpp Wed Oct 12 13:22:19 2016 +0000 +++ b/main.cpp Wed Jan 17 07:12:35 2018 +0000 @@ -4,15 +4,20 @@ //------------------------------------------------------------------------------------------------------ // editable Variables/Text //------------------------------------------------------------------------------------------------------ -string text_generic ("Hello World"); // is going to be used for the 'not-connected' state. -int m_length = 16; // length of the matrix -int m_height = 8; // height of the matrix -int matrix_text [500]; // How many Variables can be declared in the text-array +int m_length = 64; // length of the matrix +int m_height = 8; // height of the matrix +char matrix_value [512]; // How many Variables can be declared in the text-array + + //------------------------------------------------------------------------------------------------------ // Main //------------------------------------------------------------------------------------------------------ int main() { - Matrix(m_length,m_height,matrix_text,text_generic); + while(1) + { + Matrix(m_length,m_height,matrix_value); + } + }