I am new bee here and trying to send and receive between esp8266 and arduino Atmega microcontroller through serial UART port. How could I trigger call back on rx interrupt handler ??
to send data from ESP8266 to ATMEGA using the following
uart0_sendStr("PING");
This is processed and responded by ATMEGA microcontroller, what is the best way to wait and receive data from ATMEGA microcontroller in ESP8266 like a callback with timeout or Interrupt ??