Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 03:45 29 Mar 2024 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 : E100 blit example?

Author Message
TrevorH
Senior Member

Joined: 06/04/2018
Location: United Kingdom
Posts: 142
Posted: 06:22pm 23 Jan 2020
Copy link to clipboard 
Print this post

Hi all,

has anyone successfully converted the "hand" routine in the analog clock from cfunction to blit.

I find the cfunction version still corrupts the background.

I have looked at the guage demo and got that working for 1 pointer, but the structure is so different

and I can't get my head round using that method for 3 pointers.

any help would be much appreciated.

Trevor
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3641
Posted: 07:23pm 23 Jan 2020
Copy link to clipboard 
Print this post

Might the corruption be that the algorithm is wrong?

It's fairly easy to redraw/restore things such that the overall outcome isn't right.

Or are you saying the cfunction is buggy?

John
 
TrevorH
Senior Member

Joined: 06/04/2018
Location: United Kingdom
Posts: 142
Posted: 07:54pm 23 Jan 2020
Copy link to clipboard 
Print this post

Hi john,

I wouldn't dare say that the cfunction is buggy, but using Lewis' Weather station code it all seems OK, but over a few hours the background seems to get corrupted.

Now using the blit command only with only a second hand over the same length of time does Not corrupt.

Trevor
 
Print this page


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

© JAQ Software 2024