While working on a current project i’ve faced an issue with code reuse. Espressif sdk allows only one interrupt handler for all GPIOs. That’s fine for monolithic code but since we like modular code a dispatcher comes handy.
The little inconvenience i’ve had was like this. I wanted to use the drivers/key.c code but it does use the data argument , so i’ve had to modify it to use a global variable.
<img class="alignnone size-medium wp-image-14" src="/wp-content/uploads/2015/01/esp8266ex-300x225.jpg" alt="esp8266ex" width="300" height="225" srcset="/wp-content/uploads/2015/01/esp8266ex-300x225.jpg 300w, /wp-content/uploads/2015/01/esp8266ex.jpg 640w" sizes="(max-width: 300px) 100vw, 300px" />
The esp8266 chip is made by Espressif Systems.
ESP8266 is a highly integrated chip designed for the needs of a new connected world. It offers a complete and self-contained Wi-Fi networking solution, allowing it to either host the application or to offload all Wi-Fi networking functions from another application processor.
The chip have both certifications FCC and CE.