Go Down

Topic: LCD Bitmap library problem with bitmap.move(x,y) (Read 912 times) previous topic - next topic


Feb 10, 2013, 12:12 am Last Edit: Feb 10, 2013, 12:19 am by frank_lab Reason: 1
Hi, i have a little problem with this great library.
When i create a rectangle and i want to move it using the command bitmap.move(x,y), if I move the rectangle on the first row the command works, if I want to place it in the second row does not work and the display is blank.
I get the same result if i try to place the rectangle or my double arrow manually.
Is it a bug of the library or where i'm doing wrong?
Another question.
If i want to place a different object in the different place of the lcd how can i do?
I tried to use the bitmap.move(x,y) command, but i think the command is in override mode, because the result is the last bitmap.move(x,y) command.

I have a lcd 16x2 and i using the standard LCD library, i tried the New LCD Crystal library, but it's the same.
My Arduino is the model UNO r3 and my O.S. is Mac OsX SnowLeopard.
The LCD is connected in standard mode.

Here my scratch:
Code: [Select]

#include <LiquidCrystal.h>
#include <LCDBitmap.h>

LiquidCrystal lcd(13,12,11,9,8,7);
LCDBitmap bitmap(&lcd, 0, 0);

void setup(){

void loop(){

void crossRect(){

void doubleArrow(){

Thank you for the help and sorry for my english, but isn't my first language

Go Up