The main PyBoard code has support for access to the raw version of the terminal, through sys.stdio.buffer and sys.stdout.buffer. This support doesn't seem to be switched on for the ESP8266 version. It seems to just need:
Code: Select all
#define MICROPY_PY_SYS_STDIO_BUFFER (1)
If there is some reason why this can't work on the ESP cards then it would be helpful to know. If there is no good reason, could someone who has the ability to test this please switch it on and submit the one line patch?