Hi there,
I have a 16x2 RGB Shield in Negative flavour.
I was wondering if there is a command like "lcd.clear()" or "lcd.setCursor(0,1)" that I can use to clear a certain row, rather than the entire screen.
is there such a function that will allow me to do that?
ADAFruit RGB Shield - Clear Row
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88093
- Joined: Sat Feb 07, 2009 10:11 am
Re: ADAFruit RGB Shield - Clear Row
lcd.clear() will clear the entire screen. To clear a single row, you would need to set the cursor to the start of the row and write 16 spaces.
http://arduino.cc/en/Reference/LiquidCr ... xMpxfldV8H
http://arduino.cc/en/Reference/LiquidCr ... xMpxfldV8H
- careless
- Posts: 10
- Joined: Fri Feb 28, 2014 7:21 pm
Re: ADAFruit RGB Shield - Clear Row
figured as much... that's how i currently have my code written. maybe i'll just create a var with 16 spaces and call it ClearRow and call that instead of having " " everywhere.
Thanks for the quick reply, Bill!
Thanks for the quick reply, Bill!
Please be positive and constructive with your questions and comments.