Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:29 19 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : MM+  BLIT READ / BLIT WRITE

Author Message
G.B.P.

Newbie

Joined: 13/08/2014
Location: Australia
Posts: 16
Posted: 09:34am 01 Sep 2021
Copy link to clipboard 
Print this post

I am developing a short program where 6 small images (47x56 pixels) are read through BLIT READ from a larger preloaded full screen image on a ILI9341 display on the start up of the program and then randomly displayed again on the LCD using BLIT WRITE.
My problem is that after few runs, some of the images become corrupted, displaying only spotty squares.
The program is quite small and plenty of free memory is left open.

> memory
Flash:
 4K  (4%) Program (191 lines)
92K (96%  Free

RAM:
 1K ( 0%) 13 Variables
61K (62%) General
34K (38%) Free

I am also using PLAY SOUND during the program.

Is there any reason for this to happen?
Can someone give me any suggestion on how to resolve this issue?
Thank
 
G.B.P.

Newbie

Joined: 13/08/2014
Location: Australia
Posts: 16
Posted: 09:56am 01 Sep 2021
Copy link to clipboard 
Print this post

... using PLAY WAV during the program.

When most of the sound commands removed, the problem appears to be gone..
The sound is taken from the PWM 2B pin.

Thanks
 
G.B.P.

Newbie

Joined: 13/08/2014
Location: Australia
Posts: 16
Posted: 10:14am 01 Sep 2021
Copy link to clipboard 
Print this post

Never mind...

By resetting one sound at a time, I discovered that the pause used to allow one sound to fully play was too short and somehow affected the BLIT WRITE ...    

Thanks
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025