-->
Page 1 of 2

SPI or hardware SPI

PostPosted: Wed Apr 22, 2015 5:07 pm
by Zig
Is there an example sketch on how to implement SPI ( HSPI ) using esp8266 micro ?

Re: SPI or hardware SPI

PostPosted: Sat Apr 25, 2015 6:51 am
by squix78
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...

Re: SPI or hardware SPI

PostPosted: Sun Apr 26, 2015 4:03 pm
by Zig
Much obliged Squix.

I wish to interrogate a Bosch barometric pressure module.

Hope to be able to replicate Your success.

Re: SPI or hardware SPI

PostPosted: Sat Jun 06, 2015 5:17 pm
by Mikejstb
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?