I've been trying to make the esp send me something though the serial port, but can't seem to be able to do that. I've seen that there is a uart.h and I tried fiddling with that, but with no avail. I also tried to use the HarwareSerial that was implemented for the ESP8266 Arduino IDE but that is defined as a class and it won't comile.
Can you please point me to a library or way to communicate over serial?
Thank you.