|
|
@ -11,7 +11,6 @@ int main(int argc, char *argv[])
|
|
|
|
bool latch = false;
|
|
|
|
bool latch = false;
|
|
|
|
bool latch_old = false;
|
|
|
|
bool latch_old = false;
|
|
|
|
|
|
|
|
|
|
|
|
// setupInit();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
delayInitMs(8000000, 1000);
|
|
|
|
delayInitMs(8000000, 1000);
|
|
|
|
// FreeRTOS_Delay dly;
|
|
|
|
// FreeRTOS_Delay dly;
|
|
|
@ -19,6 +18,8 @@ int main(int argc, char *argv[])
|
|
|
|
|
|
|
|
|
|
|
|
pinConfig(pinB3, output, pushPull, def_res, def_speed);
|
|
|
|
pinConfig(pinB3, output, pushPull, def_res, def_speed);
|
|
|
|
pinConfig(pinA0, input, def_stage, pullDown, def_speed);
|
|
|
|
pinConfig(pinA0, input, def_stage, pullDown, def_speed);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setupInit(); // This is the sescond call of System init the asebly start code is calling it before the main.
|
|
|
|
usartInit( usart2,
|
|
|
|
usartInit( usart2,
|
|
|
|
pinA2,
|
|
|
|
pinA2,
|
|
|
|
pinA15,
|
|
|
|
pinA15,
|
|
|
|