I saw this awesome video E-Paper + ESP8266 Tutorial - Easy Text & Images and got pursued to buy two 7.5" displays (black/white/red) - thought it would be easy to do on the particle photon (crawling down the rabbit hole).
I then came across this post E-ink display doesnt work where a lot of good people did some fantastic work ( especially @ScruffR - wow!)
My experience with Photon little (did manage to make an LCD display some stats from my database - success! ) and porting other libs into it is zero.
I got the e-Paper HAT module and connected it as follows
(This is like what is being suggested in the README of GxEPD for ESP8266 NodeMCU except that CS is suggested to connect to D8 - which do not exist on a Particle Photon)
I did my best to create all the files needed. Tried to compile and fixed what I could.
Created missing files
Fixed nested paths to root level
Changed some transfer16(x) to just transfer(x) - commented with // PORT CODE
BTW: Perhaps I should mention that the final goal is to make it display some images (citations and funny memes etc.) that I’ll upload to the web somewhere and do some processing so the photon can easily grab one of them.
A very quick reply, suggest you look at GxEPD2 library and use the Adafruit_GFX_RK library (which includes lots of fonts). You do not need to include SPI since this is already included with Particle is you #include “Particle.h”. You will need to comment out a lot of the boards that you aren’t using, you also need WaveTable.h. Following is the top of the .ino file for a 3 colour 2.13" GoodDisplay.
I’m quite a newbie - would you mind sharing a working project so I can see the code and make a fork for 7.5inch?
BTW: I don’t really need a lot of fonts. Plan to print images that will contain the text in the image. Just wanted to start with a “hello world” print on the screen.