Go Down

Topic: NHD[ch8208]0220D3Z[ch8208]NSW[ch8208]BBW - BAcklight ON/OFF (Read 534 times) previous topic - next topic


Apr 20, 2010, 11:13 am Last Edit: Apr 20, 2010, 11:14 am by FPGA Reason: 1
Anyone has an example on howto put this backlight on writing something to it and then putting the backlight off??

my code works except the part where there must be text written to the LCD. This text is not correct.


Code: [Select]
#include <SoftwareSerial.h>

#define LCDrxPin 2
#define LCDtxPin 8

SoftwareSerial LCDSerial = SoftwareSerial(LCDrxPin,LCDtxPin);

void setup()


void loop()
LCDSerial.print(254,BYTE); // Put LCD off by Backlight brightness
 LCDSerial.print(254,BYTE); // Put LCD on by Backlight brightness
  LCDSerial.print(254,BYTE); // Cursor Home Command

  LCDSerial.print(254,BYTE); // Clear Screen Command

Very much thank you

Go Up