Pages: [1]   Go Down
Author Topic: Adafruit ST7565 Partial Update.  (Read 689 times)
0 Members and 1 Guest are viewing this topic.
London, UK
Offline Offline
Full Member
***
Karma: 4
Posts: 190
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
I am using Adafruits ST7565 lcd library and I wanted to know how use the Partial Update feature, it seems to be mentioned a few times in the library but I cant figure it out.

https://github.com/adafruit/ST7565-LCD
What I have is

Code:
glcd.drawchar(102, 0, battString0);
 glcd.drawchar(107, 0, battString1);
 glcd.drawchar(112, 0, battString2);
 glcd.drawchar(117, 0, battString3);
 glcd.drawchar(122, 0, battString4);
 updateBoundingBox(102, 0, 127, 1);
but that doesn't work
I get
Code:
Current_Working_2_9_12:1519: error: 'updateBoundingBox' was not declared in this scope
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 8
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Shouldnt it be:

glcd.updateBoundingBox(102, 0, 127, 1);

Or am I missing something here? Someone correct me if I'm wrong, but I do believe that would explain the 'not declared in this scope' error.
Logged

London, UK
Offline Offline
Full Member
***
Karma: 4
Posts: 190
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Apparently not

I get
Code:
Current_Working_2_9_12.cpp: In function 'long unsigned int LCDBattery()':
Current_Working_2_9_12:1524: error: 'class ST7565' has no member named 'updateBoundingBox'
Logged

Pages: [1]   Go Up
Jump to: