Trouble turning off backlight in C++/arduino

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
evstar
 
Posts: 13
Joined: Wed Jun 02, 2021 9:41 pm

Trouble turning off backlight in C++/arduino

Post by evstar »

I've tried the following:

Code: Select all

Adafruit_Arcada arcada;
arcada.arcadaBegin();
arcada.displatBegin();
arcada.setBacklight(0);

Code: Select all

pinMode(34, OUTPUT);
digitalWrite(34, LOW);
Both don't affect the backlight. As a temporary solution I've set the display to all black and turned the backlight to '1'.

Any help is appreciated,
Evan

User avatar
rpiloverbd
 
Posts: 198
Joined: Mon Nov 29, 2021 8:13 am

Re: Trouble turning off backlight in C++/arduino

Post by rpiloverbd »

Hi, how is your display connected to the Arduino?

User avatar
evstar
 
Posts: 13
Joined: Wed Jun 02, 2021 9:41 pm

Re: Trouble turning off backlight in C++/arduino

Post by evstar »

It is the TFT display (with ST7789 controller) that comes pre-installed on the CLUE device. With default pins:

Code: Select all

TFT_SPI SPI1
TFT_CS 31  // Display CS Arduino pin number
TFT_DC 32  // Display D/C Arduino pin number
TFT_RST 33 // Display reset done with chip
TFT_LITE 34

Locked
Please be positive and constructive with your questions and comments.

Return to “CLUE Board”