But, the initial action of SPI and Graphics module must be in the onInit() function. why?
And the RST pin must be connected! The cs option must be defined too.
because connectSPI send some init commands to make the OLED work correct.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
because connectSPI send some init commands to make the OLED work correct.