Quantcast
Channel: Problems with UART in ATmega - Electrical Engineering Stack Exchange
Browsing latest articles
Browse All 2 View Live

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 Article



Problems 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
Browsing latest articles
Browse All 2 View Live




Latest Images