Answer by Justme for Problems with UART in ATmega
Most likely the malloc and free are not thread safe so you can't allocate in interrupt and free in main loop. In general, there should be no dynamic memory allocation in interrupts. At least you should...
View ArticleProblems with UART in ATmega
I've been programming my atmega 328p to automate my coffe machine.The timer is set using the bluetooth module HC-06, or by a set of configuration buttons that I'm gonna develop yet (the full code is on...
View Article
More Pages to Explore .....