N5110
Dependents: ParkingSENSOR ParkingSENSOR
Fork of N5110 by
Diff: N5110.h
- Revision:
- 19:ba8addc061ea
- Parent:
- 18:1af393359298
- Child:
- 20:afebf2ce086f
--- a/N5110.h Wed Apr 22 12:41:45 2015 +0000 +++ b/N5110.h Thu Apr 23 18:57:52 2015 +0000 @@ -127,6 +127,7 @@ // x0,y0,x1,y1,type 0-white,1-black,2-dotted lcd.drawLine(0,0,x,HEIGHT,2); } + lcd.refresh(); // need to refresh screen after drawing lines wait(5.0); lcd.clear(); @@ -135,6 +136,7 @@ lcd.drawCircle(WIDTH/2,HEIGHT/2,20,1); // x,y,radius,black fill lcd.drawCircle(WIDTH/2,HEIGHT/2,10,2); // x,y,radius,white fill lcd.drawCircle(WIDTH/2,HEIGHT/2,30,0); // x,y,radius,transparent with outline + lcd.refresh(); // need to refresh screen after drawing circles wait(5.0); lcd.clear(); @@ -144,8 +146,10 @@ lcd.drawRect(10,10,50,30,1); // filled black rectangle lcd.drawRect(15,15,20,10,2); // filled white rectange (no outline) lcd.drawRect(2,2,70,40,0); // transparent, just outline + lcd.refresh(); // need to refresh screen after drawing rects - wait(5.0); + + wait(5.0); lcd.clear(); }