Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Zig
#15323 Is there an example sketch on how to implement SPI ( HSPI ) using esp8266 micro ?
User avatar
By squix78
#15587 Hi Zig

I wrote a little library which talks to a MAX7219 over SPI to drive a 8x8 led matrix. You can find the code here:
https://github.com/squix78/MAX7219LedMatrix
and the explanation/wiring here:
http://blog.squix.ch/2015/04/esp8266arduino-max7219-8x8-led-matrix.html

Please note: the currently released version comes with an incomplete SPI library. So you'll have to patch it with the one from github or build it from scratch in the first place...
User avatar
By Zig
#15729 Much obliged Squix.

I wish to interrogate a Bosch barometric pressure module.

Hope to be able to replicate Your success.
User avatar
By Mikejstb
#19693 Could you explain the process to patch the SPI library?
I'm running under Windows, does that matter?
And, is this patch needed for the 1.6.1 Arduino or the 1.6.4 version, or both?