Esp8285 GPIO 7 and 8

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
legionnet
Posts: 2
Joined: Wed Feb 01, 2017 12:35 pm

Esp8285 GPIO 7 and 8

Post by legionnet » Wed Sep 06, 2017 6:12 am

Firmware for esp8266 work fine on esp8285 board but I can't use GPIO 7 and 8. I see error "invalid pin number".

My device is Sonoff 4ch.

SpotlightKid
Posts: 463
Joined: Wed Apr 08, 2015 5:19 am

Re: Esp8285 GPIO 7 and 8

Post by SpotlightKid » Mon Dec 04, 2017 11:36 pm

7 and 8 are not valid pin numbers for the ESP82xx. See here: http://docs.micropython.org/en/latest/e ... s-and-gpio

You might be confusing the MCU pin number with the nomenclature used for the pins of NodeMCU compatible boards. Here's the mapping: https://github.com/nodemcu/nodemcu-devkit-v1.0

Post Reply