LPC1768 programm for the led matrix.

Dependencies:   BufferedSerial DS3231 mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers time_adjustment_dates.h Source File

time_adjustment_dates.h

00001 enum monthNames
00002 {
00003     januar = 1, //1
00004     februar,    //2
00005     marz,       //3
00006     april,      //4
00007     mai,        //5
00008     juni,       //6
00009     juli,       //7
00010     august,     //8
00011     september,  //9
00012     oktober,    //10
00013     november,   //11
00014     dezember,   //12
00015 };
00016 //-------------------------//
00017 char year_limit = 20;
00018 //-------------------------//
00019 char summerdates[21][5] = //[Years] [date,month,year,hour,seconds]
00020 {
00021     {26,3,0,2,0},
00022     {25,3,1,2,0},
00023     {31.3,2,2,0},
00024     {30,3,3,2,0},
00025     {28,3,4,2,0},
00026     {27,3,5,2,0},
00027     {26,3,6,2,0},
00028     {25,3,7,2,0},
00029     {30,3,8,2,0},
00030     {29,3,9,2,0},
00031     {28,3,10,2,0},
00032     {27,3,11,2,0},
00033     {25,3,12,2,0},
00034     {31,3,13,2,0},
00035     {30,3,14,2,0},
00036     {29,3,15,2,0},
00037     {27,3,16,2,0},
00038     {26,3,17,2,0},
00039     {25,3,18,2,0},
00040     {31,3,19,2,0},
00041     {29,3,20,2,0}
00042 };
00043 char winterdates[21][5] = //[Years] [date,month,year,hour,seconds]
00044 {
00045     {29,10,0,3,00},
00046     {28,10,1,3,00},
00047     {27,10,2,3,00},
00048     {26,10,3,3,00},
00049     {31,10,4,3,00},
00050     {30,10,5,3,00},
00051     {29,10,6,3,00},
00052     {28,10,7,3,00},
00053     {26,10,8,3,00},
00054     {25,10,9,3,00},
00055     {31,10,10,3,00},
00056     {30,10,11,3,00},
00057     {28,10,12,3,00},
00058     {27,10,13,3,00},
00059     {26,10,14,3,00},
00060     {25,10,15,3,00},
00061     {30,10,16,3,00},
00062     {29,10,17,3,00},
00063     {28,10,18,3,00},
00064     {27,10,19,3,00},
00065     {25,10,20,3,00}    
00066 };