2019-01-08 11:12 AM
Everytime i wake up from stopmode i print my RTC time. However whenever i do that i print some weird symbols instead. Im using the STM32L053R8T6.
I just used:
printf("%d-%d-%d\n\r", Hour, Min, Sec);
HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI);
I can only printf the right time once and then after it enters the StopMode and wakes up from it, it gives random symbols
Solved! Go to Solution.
2019-01-08 05:15 PM
It has been solved already.
2019-01-08 05:15 PM
It has been solved already.
2019-01-08 05:26 PM
...and btw newline for Windows OS is "\r\n" actually. :)