Is this possible ?
nestor73
Posts: 33
Hi All,
i'm fairly new to the propeller, i have chosen it because of the nice VGA output that i need
for a project. I tried the arduino but it was rather messy to get it working.
Now i have to add two timers to the vga screen, they need to fill half of the screen (one
above and one beneath) but my question is , can i change the font or how can i make my own ? I can't
even manage to get another screen resolution then 640x480 (aldo the setting is 512x480??) , and so
far i only managed to make some changes to the demo files (C3_VGA_Demo_010) to get anything on
my screen...
I have to say that the Spin language is not that easy ! but after one hour i can't expect much
i guess :-)
thanks in advance !
i'm fairly new to the propeller, i have chosen it because of the nice VGA output that i need
for a project. I tried the arduino but it was rather messy to get it working.
Now i have to add two timers to the vga screen, they need to fill half of the screen (one
above and one beneath) but my question is , can i change the font or how can i make my own ? I can't
even manage to get another screen resolution then 640x480 (aldo the setting is 512x480??) , and so
far i only managed to make some changes to the demo files (C3_VGA_Demo_010) to get anything on
my screen...
I have to say that the Spin language is not that easy ! but after one hour i can't expect much
i guess :-)
thanks in advance !
Comments
i was already trying to get that one working, but i must be doing something wrong. I have the C3 board but i don't get a picture on my vga screen. i'm trying
to figure out where i'm going wrong
Just add this to your program's initialization:
outa[ 15 ] := 1
dira[ 15 ] := 1
DIRA[15] := 1
OUTA[15] := 0
Thanks folks !!
vga screen, i want to update it every second. Now, which is the most effecient way to
refresh the screen (or the part where the clock is displayed) because if i don't refresh it
the text is just put above eachother. If i have to redraw the whole screen, i get allot of
flickering on the screen. And the more code he has to run into, the worse its getting...:(
1) If you have enough memory, you could double buffer the display and draw the digits into the buffer, then copy the buffer to the active display buffer.
2) Change the color of the foreground to the same as the background, then draw the old time to the display, effectively erasing the digits, then draw the new time. If the old digit is the same as the new digit, skip that digit.
that does sound easier said then done for me , haha. I'm going to try and find information about that.
Next to that - i do get the feeling that all the demo's i see that can do what i want (graphical interface, big fonts etc..) are done trough the PAL output
and not the VGA. It is possible that i use the composite output instead of the VGA, it doesn't really matter what type of monitor it is, it just needs to
be seen from a nice distance. What are the downsides of using TV output ? (i think image quality is allot less ?)