After update firmware photon 0.4.9 Display LCD ST7735S 1.8" SPI not work why?

Display LCD ST7735S 1.8


#define cs   A2
#define dc   A0
#define rst  NO_RST_PIN
#include "Adafruit_mfGFX.h"    // Core graphics library
#include "Adafruit_ST7735.h"   // Hardware-specific library
Adafruit_ST7735 display = Adafruit_ST7735(cs, dc, rst); // hardware spa

void setup() {
  display.setCursor(0, 0);

after update firmware 0.4.9 ( Photon ) my display screen show white color

@fangda01 what version of firmware were you running BEFORE you udpated to 0.4.9?

firmware 0.4.7

@fangda01, my github code is kind of old and was written for the Core. It should still work but it needs to be updated. The mfGFX library has been updated (on the IDE) and the ST7735 code mixes other platform code and uses the “SPARK” define. I’m not sure if the original arduino library has been updated so tt may be time to review things!

I’ll look at the code tonight and see if I can update it.


Can you try something for me please:

  1. downgrade your photon to 0.4.7, and recompile your app for that version. So that you then have a working system.

  2. Put your device in DFU mode and run particle update to update only the system firmware. Does the display still work?

The critical point is to not flash the app again after it’s working, and only change the system firmware.

Please let us know the results. I’m curious to know if it is system firmware or something changed in the application.

Thanks :smile:

1 Like