Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Genaral graphic routines for text and pictures

 
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR
View previous topic :: View next topic  
Author Message
Per Svensson

Bascom Member



Joined: 03 Oct 2004
Posts: 235
Location: Gothenburg, Sweden

sweden.gif
PostPosted: Wed Dec 13, 2023 5:21 pm    Post subject: Genaral graphic routines for text and pictures Reply with quote

Hi

I have had an old flip type display on the shelf for many years, and now a took some time to write an interface for it.
Running on my Xduino board with an Xmega plus several sensors and an RTC chip with battery backup.

My driver essentially support one single operation, which is setting and resetting a single dot (pixel)
So fas so good, and of course I could continue writing code for displaying text, numbers, or even simple graphics like squares, circles and lines,
But lazy as I am I started wondering if noone already have written such an engine?

I mean, the only thing that really is different from display to display is the mechanism of setting a pixel at a certain coordinate.
Yes, I realize that writing text by setting one pixel at a time is not very efficient. But disregard that for a moment.
The simplicity is tempting. Provide a driver for setting/resetting a pixel in the display, and the rest is standard. Nice!

Could it be that somewhere a forum member already have done just this. Written a graphic routine where the only requirement is a dedicated driver able to write one pixel.

Merry Christmas
/Per

(BASCOM-AVR version : 2.0.8.6 )
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    www.mcselec.com Forum Index -> BASCOM-AVR All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum