RTC au principal
This commit is contained in:
parent
8a8a0b650c
commit
262e198447
1 changed files with 5 additions and 0 deletions
|
|
@ -26,6 +26,11 @@ int main(void) {
|
|||
// Initialisation des modules
|
||||
initAccelo();
|
||||
initLacheur();
|
||||
|
||||
//RTC
|
||||
initRTC();
|
||||
getTime();
|
||||
|
||||
for (int p = 0; p<LONGUEUR_MOY; p++){moyenne[p]=0xFFFF;} // Initialisation du tableau à 0xFFFF, pour ne pas qu'il se déclenche immediatement
|
||||
|
||||
LocaliserZero();
|
||||
|
|
|
|||
Loading…
Reference in a new issue