Not being fluent anymore in C/C++ I had to get used again to the hard work of managing memory, dealing with a weird String object (yes, even weirder than the String object in Java;-)) and some other pitfalls for a 10+ years Java programmer.
But I finally managed it and here you can see the result:
Connect the Modules like this:
|Choose free GPIO, e.g. GPIO2
Here you’ll find the library:
- this library is made for the ESP8266 and might or might not work for “normal” Arduino boards.
- I had to patch the Mac OS X release with the SPI folder from Github. In other words there wasn’t an up-to-date release for Mac OS X (and maybe for the other platforms as well) and the SPI.h/SPI.cpp wouldn’t compile