LPC1768 programm for the led matrix.

Dependencies:   BufferedSerial DS3231 mbed-rtos mbed

Committer:
JOEV
Date:
Wed Jan 17 07:12:35 2018 +0000
Revision:
3:bd1352d4dbb8
Parent:
2:d5472e4a55bf
first release -> not everything has been commented yet but should work

Who changed what in which revision?

UserRevisionLine numberNew contents of line
JOEV 2:d5472e4a55bf 1 #ifndef INITALIZE_H
JOEV 2:d5472e4a55bf 2 #define INITALIZE_H
JOEV 2:d5472e4a55bf 3
JOEV 3:bd1352d4dbb8 4
JOEV 3:bd1352d4dbb8 5 #include "rtos.h"
JOEV 3:bd1352d4dbb8 6 #include <BufferedSerial.h>
JOEV 3:bd1352d4dbb8 7 #include "DS3231.h"
JOEV 2:d5472e4a55bf 8 #include <string>
JOEV 2:d5472e4a55bf 9 #include "mbed.h"
JOEV 3:bd1352d4dbb8 10 //============================================================================================
JOEV 3:bd1352d4dbb8 11 //FUNKTIONEN
JOEV 2:d5472e4a55bf 12
JOEV 3:bd1352d4dbb8 13 //MATRIX-FUNKTIONEN
JOEV 2:d5472e4a55bf 14 void shift_srg();
JOEV 2:d5472e4a55bf 15 void reset_srg();
JOEV 3:bd1352d4dbb8 16 void store_srg();
JOEV 3:bd1352d4dbb8 17
JOEV 3:bd1352d4dbb8 18 void initVal(void);
JOEV 2:d5472e4a55bf 19 void initArray(int const *letter, int size);
JOEV 3:bd1352d4dbb8 20 void TextMatrixConvert(const string& text_convertion, char *matrix_value, int m_length);
JOEV 3:bd1352d4dbb8 21 void setMatrix(int m_height,int m_length, char *matrix_value);
JOEV 3:bd1352d4dbb8 22
JOEV 3:bd1352d4dbb8 23 void bluetooth_matrix(int m_length, int m_height, char *matrix_value);
JOEV 3:bd1352d4dbb8 24 void CustomTextCycleFinished(void);
JOEV 3:bd1352d4dbb8 25
JOEV 3:bd1352d4dbb8 26 void BLE_ErrorHandler(char value);
JOEV 3:bd1352d4dbb8 27
JOEV 3:bd1352d4dbb8 28 void Matrix(int m_length, int m_height, char *matrix_value);
JOEV 2:d5472e4a55bf 29
JOEV 3:bd1352d4dbb8 30 //ECHTZEITUHR-FUNKTIONEN
JOEV 3:bd1352d4dbb8 31 void readTime(void);
JOEV 3:bd1352d4dbb8 32 void timeSettings(void);
JOEV 3:bd1352d4dbb8 33 void ReadTimeToString(void);
JOEV 3:bd1352d4dbb8 34 bool checkLeapyear(int yearVal);
JOEV 3:bd1352d4dbb8 35 bool checkDate(int yearVal, int monthVal, int dateVal);
JOEV 3:bd1352d4dbb8 36 void WinterSummerTime(int yearVal,int monthVal,int dateVal,int hourVal,int secondVal);
JOEV 3:bd1352d4dbb8 37 void textSwitcher(void);
JOEV 2:d5472e4a55bf 38
JOEV 2:d5472e4a55bf 39 #endif