0

hi does anyone know how to

1) set Max Brightness
2) change the start up splash screen from being white to black
3) how to change settings so that text can be mirrored so when display is reflected into mirror or glass window the text reflects onto the mirror / glass so that it is readable

The code from the sketch may answer some of your tecnical question re the environment i am working with

#include <Adafruit_GFX.h>    // Core graphics library
#include <Adafruit_TFTLCD.h> // Hardware-specific library

#define LCD_CS A3 // Chip Select goes to Analog 3
#define LCD_CD A2 // Command/Data goes to Analog 2
#define LCD_WR A1 // LCD Write goes to Analog 1
#define LCD_RD A0 // LCD Read goes to Analog 0
  • 1. can be done w/hjardware usually, PWM'ing the backlight. 2 is just whatever the demo code does, there's no std splash screen. 3. you'll have to modify the gfx lib or use a custom font. – dandavis Jan 8 at 20:39
0

1) set Max Brightness

You set the brightness of the backlight (usually) using PWM.

2) change the start up splash screen from being white to black

That's not a splash screen. That's just the back light being on before the screen is initialised. Just don't turn on the back light until you need it.

3) how to change settings so that text can be mirrored so when display is reflected into mirror or glass window the text reflects onto the mirror / glass so that it is readable

Either do it in software (tricky) or look at the MADCTL (many have it called that) register in the datasheet. The library probably won't support it, but it's part of how it deals with display rotation, so you could examine that function and compare it with what's in the datasheet (hint: 180° rotation is actually flipping both the X and Y axis).

  • Thanks for the answers above. Sorry this is all very new to me – Claudio Jan 9 at 16:51
  • Thanks for the answers above. Sorry I dont have an electronics / component background please excuse the nievety. Answer 1 above, what is PWM and where do i find it and how do i use it to achieve point 1 objective Answer 2 Above So how do i turn offf the backlight as the uit backlight lights up as soon as power is connected even when the LCD is not connected to the processor, so i assume its not using the code to initally turn the back light on given there is no arduio processing any code yet the backlight is on Answer 3 Where do i find the MADCTL in order to alter it – Claudio Jan 9 at 17:02
  • Majenco i really do appreicate your assistance so far. I was hoping t find a graphics driiver option so i could code the reverse / mirror flip. I am looking to add an gyro to the unit so that if the unit is flipped so it faces driver not windscreen (opposite to default position the code detects this from gyro output & then changes the aspect of code being displayed so its readable by driver. Same logic to be applied if the driver wants it placed upside down form the default position so that power connector was on left side not right side (allowing for left / right hand drive) – Claudio Jan 9 at 17:11
  • PWM: Pulse Width Modulation. Involves turning an output on and off very rapidly with varying ratios of on-to-off times to simulate an analog output. Control the pins that have ~ by them with analogWrite(). – Majenko Jan 9 at 19:09
  • How you control the back light depends on what shield you are using. – Majenko Jan 9 at 19:09

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.