LPC1768 programm for the led matrix.
Dependencies: BufferedSerial DS3231 mbed-rtos mbed
Diff: initalize.h
- Revision:
- 3:bd1352d4dbb8
- Parent:
- 2:d5472e4a55bf
--- a/initalize.h Wed Oct 12 13:22:19 2016 +0000 +++ b/initalize.h Wed Jan 17 07:12:35 2018 +0000 @@ -1,26 +1,39 @@ #ifndef INITALIZE_H #define INITALIZE_H + +#include "rtos.h" +#include <BufferedSerial.h> +#include "DS3231.h" #include <string> #include "mbed.h" -//------------------------------------------------------------------------------------------------------ -/* - ___ _ _ - | __| _ _ _ __| |_(_)___ _ _ ___ - | _| || | ' \/ _| _| / _ \ ' \(_-< - |_| \_,_|_||_\__|\__|_\___/_||_/__/ - -*/ +//============================================================================================ +//FUNKTIONEN - +//MATRIX-FUNKTIONEN void shift_srg(); void reset_srg(); -void setSpeed(); -void init(); +void store_srg(); + +void initVal(void); void initArray(int const *letter, int size); -void setText(const string& text_dummy, int *matrix_text); -void setMatrix(int m_height,int m_length, int *matrix_text); +void TextMatrixConvert(const string& text_convertion, char *matrix_value, int m_length); +void setMatrix(int m_height,int m_length, char *matrix_value); + +void bluetooth_matrix(int m_length, int m_height, char *matrix_value); +void CustomTextCycleFinished(void); + +void BLE_ErrorHandler(char value); + +void Matrix(int m_length, int m_height, char *matrix_value); +//ECHTZEITUHR-FUNKTIONEN +void readTime(void); +void timeSettings(void); +void ReadTimeToString(void); +bool checkLeapyear(int yearVal); +bool checkDate(int yearVal, int monthVal, int dateVal); +void WinterSummerTime(int yearVal,int monthVal,int dateVal,int hourVal,int secondVal); +void textSwitcher(void); -void Matrix(int m_length, int m_height, int *matrix_text,const string text_generic); #endif \ No newline at end of file