Go Down

Topic: Display Bitmap (Read 918 times) previous topic - next topic

kngpengwin

I'm trying to display a bitmap on a serial LCD (http://www.sparkfun.com/commerce/product_info.php?products_id=8358) and am having some problems. I'm an arduino newbie, so any help or advice would be appreciated. hopefully I'm doing something really dumb and easy to correct!

when I upload my code to the board, it corrupts the bootloader and I have to burn the bootloader again and start over (see problems here - http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1204684257). burning a new bootloader gets me up and running again.

here is the output when I try and upload the program to the board:
http://divinepenguin.com/processing/arduino/uploadBitmapProgram.txt

here is the function I'm using to try and display the bitmap:
http://divinepenguin.com/processing/arduino/printBitmap.txt

and here is the documentation for the LCD:
http://www.sparkfun.com/datasheets/LCD/DX160.pdf

per the documentation, I'm sending [200][6][200] followed by 1024 bytes of bitmap data.

??

admin

power the LCD from a separate power supply
i

if you power the backlighting LEDs from arduino the voltage drops too much and the processor goes crazy

massimo

kngpengwin

thanks for the reply.

would the voltage drop only affect the processor when running certain programs? I'm able to display text (multiple lines) and graphics (rectangles, etc) but the arduino only goes nuts when I try and send the bitmap. it also has the same problem when I try and upload the file without the LCD attached.



Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview