LPC1768 programm for the led matrix.
Dependencies: BufferedSerial DS3231 mbed-rtos mbed
initalize.h@2:d5472e4a55bf, 2016-10-12 (annotated)
- Committer:
- JOEV
- Date:
- Wed Oct 12 13:22:19 2016 +0000
- Revision:
- 2:d5472e4a55bf
- Child:
- 3:bd1352d4dbb8
Working code for a 8x8-Matrix; ; _______________Next Steps_______________; > Make code compatible with other resolutions; > Bluetooth function
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JOEV | 2:d5472e4a55bf | 1 | #ifndef INITALIZE_H |
JOEV | 2:d5472e4a55bf | 2 | #define INITALIZE_H |
JOEV | 2:d5472e4a55bf | 3 | |
JOEV | 2:d5472e4a55bf | 4 | #include <string> |
JOEV | 2:d5472e4a55bf | 5 | #include "mbed.h" |
JOEV | 2:d5472e4a55bf | 6 | //------------------------------------------------------------------------------------------------------ |
JOEV | 2:d5472e4a55bf | 7 | /* |
JOEV | 2:d5472e4a55bf | 8 | ___ _ _ |
JOEV | 2:d5472e4a55bf | 9 | | __| _ _ _ __| |_(_)___ _ _ ___ |
JOEV | 2:d5472e4a55bf | 10 | | _| || | ' \/ _| _| / _ \ ' \(_-< |
JOEV | 2:d5472e4a55bf | 11 | |_| \_,_|_||_\__|\__|_\___/_||_/__/ |
JOEV | 2:d5472e4a55bf | 12 | |
JOEV | 2:d5472e4a55bf | 13 | */ |
JOEV | 2:d5472e4a55bf | 14 | |
JOEV | 2:d5472e4a55bf | 15 | |
JOEV | 2:d5472e4a55bf | 16 | void shift_srg(); |
JOEV | 2:d5472e4a55bf | 17 | void reset_srg(); |
JOEV | 2:d5472e4a55bf | 18 | void setSpeed(); |
JOEV | 2:d5472e4a55bf | 19 | void init(); |
JOEV | 2:d5472e4a55bf | 20 | void initArray(int const *letter, int size); |
JOEV | 2:d5472e4a55bf | 21 | void setText(const string& text_dummy, int *matrix_text); |
JOEV | 2:d5472e4a55bf | 22 | void setMatrix(int m_height,int m_length, int *matrix_text); |
JOEV | 2:d5472e4a55bf | 23 | |
JOEV | 2:d5472e4a55bf | 24 | |
JOEV | 2:d5472e4a55bf | 25 | void Matrix(int m_length, int m_height, int *matrix_text,const string text_generic); |
JOEV | 2:d5472e4a55bf | 26 | #endif |