UBRRH = 0;
UBRRL = 0x0F;
UCSRA = 0;
UCSRB = (1<<RXEN) | (1<<TXEN) | (1<<RXCIE) | (1<<UCSZ2);
UCSRC = (1<<UCSZ1) | (1<<UCSZ0);
Since the ESP8266 doesn't have the same registers, this obviously ain't going to work (it doesn't compile). Is there a simple way to convert this to ESP8266-specific code? Or will this be a very tedious and error-prone task?