LCD test is XVP is not working - Happy Days

Hello,

So I’ve been stuck with the black LCD all day after following the eclipse tutorial and it seems like a few of you have too.

If you have not actually had your LCD work at all (like me), then you did the eclipse and cannot get any display to work…

Do this;

Download seeedstudio.com/wiki/Arduino … ePhone_Kit
Arduino for RePhone - Update firmware.

Select Port ** (whatever your port got DEBUG is) and run this code; LCD will turn yellow and at least you will know it works.

// LCD display test

#include <LDisplay.h>

unsigned long sysData = 0;

void setup()
{
Serial1.begin(115200);
Serial1.print(“LCD display test.\r\n”);
Lcd.init();
Lcd.font_init();
Lcd.back_light_level(50);
Lcd.screen_set(0xffff00);
Lcd.draw_font(0, 0, “X”, 0xffff00, 0);
for(unsigned char j=0;j<20;j++)
for(unsigned char i=0;i<240;i++)
Lcd.draw_point(i,j+ 40,0xff0000);
Lcd.draw_line(0,200,239,200,0x00ff00);
Lcd.draw_line(200,0,200,239,0x00ff00);
Lcd.draw_fill_rectangle(100,100,130,130,0x0000f0);
Lcd.draw_fill_rectangle(120,120,160,160,0x0000f0);
Lcd.draw_updata();
Lcd.draw_font(10, 0, “adow Phone Test.”, 0xffff00, 0);
}

void loop()
{
Lcd.draw_number(0, 20, sysData++, 0xffff00, 0);
Serial1.print(“ABC.\r\n”);
delay(1000);
}

If you want te reset your RePhone to default and make it look like all the RePhone videos.
Just go to seeedstudio.com/wiki/Eclipse … o_defaults and follow the instructions.
BUT for step 1, use the firmware updater within the “Arduino IDE for RePhone Kit” folder like explained here: seeedstudio.com/wiki/Arduino … e_Firmware