LPC1768 programm for the led matrix.

Dependencies:   BufferedSerial DS3231 mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers initalize.h Source File

initalize.h

00001 #ifndef INITALIZE_H
00002 #define INITALIZE_H
00003 
00004 
00005 #include "rtos.h"
00006 #include <BufferedSerial.h>
00007 #include "DS3231.h"
00008 #include <string>
00009 #include "mbed.h"
00010 //============================================================================================
00011 //FUNKTIONEN
00012 
00013 //MATRIX-FUNKTIONEN
00014 void shift_srg(); 
00015 void reset_srg(); 
00016 void store_srg();
00017 
00018 void initVal(void);
00019 void initArray(int const *letter, int size);
00020 void TextMatrixConvert(const string& text_convertion, char *matrix_value, int m_length);
00021 void setMatrix(int m_height,int m_length, char *matrix_value);
00022 
00023 void bluetooth_matrix(int m_length, int m_height, char *matrix_value);
00024 void CustomTextCycleFinished(void);
00025 
00026 void BLE_ErrorHandler(char value);
00027 
00028 void Matrix(int m_length, int m_height, char *matrix_value);
00029 
00030 //ECHTZEITUHR-FUNKTIONEN
00031 void readTime(void);
00032 void timeSettings(void);
00033 void ReadTimeToString(void);
00034 bool checkLeapyear(int yearVal);
00035 bool checkDate(int yearVal, int monthVal, int dateVal);
00036 void WinterSummerTime(int yearVal,int monthVal,int dateVal,int hourVal,int secondVal);
00037 void textSwitcher(void);
00038 
00039 #endif