In this repository you can find how I hooked up a SSD1306 Adafruit display to a Photon. For my use case I wanted to send text to the display.
I'm using the SPI connection as explained in the PDF you can find in the docs folder.
The schematics are included in the Schematics.fzz file:
This how it looks when it's connected:
I'm sending a string with data to the Particle API, that string is split with commas (,
). For example: Hello,World.
becomes:
Hello
World.
To send something to the screen I something like this:
curl -X POST -F "params=Hello,World." "https://api.particle.io/v1/devices/1234567/lines?access_token=abcdefgh"