View previous topic :: View next topic |
Author |
Message |
rizzo
Joined: 30 Oct 2014 Posts: 7
|
Posted: Tue Jun 01, 2021 9:28 pm Post subject: Read BMP image from SD-HC and show on lcd 3310/5110 |
|
|
Hello.
I using:
- Mrshilov NOKIA-3310/5110 B&W LCD library
- AVR-DOS with sd-hc suport
- Bascom 2.0.8.2
I need help with BMP image. My code read image and print in Hex format. Here I am stuck. Idk how this convert to bgf and send this to lcd?
My code finish here:
Code: |
.....
Open "01.bmp" For Binary As #11
For A = 1 To Lof(11)
Get #11 , Btemp1
Print Chr(btemp1) ; 'serial debug
Next
Close #11
....
|
I wona make some animation in my project. Anyone help? |
|
Back to top |
|
|
rizzo
Joined: 30 Oct 2014 Posts: 7
|
Posted: Fri Jun 04, 2021 10:05 pm Post subject: |
|
|
I have monocolor images 84x48... Any help... |
|
Back to top |
|
|
O-Family
Joined: 23 May 2010 Posts: 320 Location: Japan
|
Posted: Sat Jun 05, 2021 3:22 am Post subject: |
|
|
Is it impossible to use Graphic Converter?
[Tools] -> [Graphic Converter] |
|
Back to top |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Sat Jun 05, 2021 10:09 am Post subject: picbin |
|
|
folliwing the kind of display this program can help you, it give you a .bin copy of a bmp
it is attached
JP _________________ pleasure to learn, to teach, to create |
|
Back to top |
|
|
rizzo
Joined: 30 Oct 2014 Posts: 7
|
Posted: Mon Jun 07, 2021 4:05 pm Post subject: |
|
|
Yes. I know how convert image to raw format and than image put in code. But i dont have space in flash. I wona have images on SD card. I need formula for converting bmp image to raw and than send this to monocolor lcd...
Images are on sd -> Avr read image -> Avr convert to raw and send to LCD. |
|
Back to top |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
|
Back to top |
|
|
rizzo
Joined: 30 Oct 2014 Posts: 7
|
Posted: Mon Jun 07, 2021 8:34 pm Post subject: |
|
|
Great project. I will check how you convert image in code and push to lcd. |
|
Back to top |
|
|
Duval JP
Joined: 22 Jun 2004 Posts: 1161 Location: France
|
Posted: Tue Jun 08, 2021 2:11 pm Post subject: |
|
|
hi,
all of picture works are from H.Kipnik from the Bascom.de forum
againt he did a great job.
JP _________________ pleasure to learn, to teach, to create |
|
Back to top |
|
|
|