M5Stack Fire Pin Mapping
-
To help other M5Stack Fire players, here I attached the Pin Mapping of Fire.
So... if you use PSRAM, Port C(UART) will be unavailable. If you need UART anyway, you can map UART to GPIOs of Port B.
s = machine.UART(2, tx=26, rx=36)
GPIO 36 is INPUT ONLY, so rx has to be 36.
refer to: https://blog.csdn.net/zhufu86/article/details/93379087 (Chinese language)