I ported the uart.c and uart.h files of JN-AN-1216 to my JN-AN-1229.、Of course, I am using a sleeping end device.
After I initialized
But when I call the interface for reading and writing, the device teacher restarts.
I want to ask, how to use reading and writing, it is safer and more convenient. Can you give me a simple code as a reference? And do you have to interrupt processing when reading or writing? Thank you, I hope I can reply to you as soon as possible！Mario Ignacio Castaneda Lopez