You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Incorrect !! , the return value is not a valid address. Type of GPO is uint32_t , not an address pointer
#define portOutputRegister(port) ((volatile uint32_t*) GPO)
//Correct , return the address of GPO ,
#define portOutputRegister(port) ((volatile uint32_t*) &GPO)
Added definitions, and workaround for current v2.0.0 of ESP8266 Arduino.
Includes instruction on removing the workaround once v2.1.0 is released
and this bug is fixed:
esp8266/Arduino#1110
When using portOutputRegister will throw an exception.
Example project: adafruit-ssd1331
I found some issue at address operations
reference:
https://github.com/esp8266/Arduino/blob/master/cores/esp8266/esp8266_peri.h
https://github.com/esp8266/Arduino/blob/master/cores/esp8266/Arduino.h
The text was updated successfully, but these errors were encountered: