VGA monitor from C program

MrChips

Joined Oct 2, 2009
34,807
Your post was moved from here.

You really need to start a new thread.
Also your question is not clear. Please explain what you are attempting to do.
 

ISB123

Joined May 21, 2014
1,236
He wants' to connect microcontroller with a PC VGA interfaced monitor.Normally you would use serial for LCD and LED screens .I could be wrong but I think that you cant do that since monitors require graphics card,maybe its possible but I'm not sure.But if its possible its probably not direct and would require external components.
 

MrChips

Joined Oct 2, 2009
34,807
If you want to drive a VGA monitor directly from a microcontroller it can be done as both RB and I have demonstrated. But you have to be able to jump through hoops and over hurdles in order to accomplish that feat.
 

ISB123

Joined May 21, 2014
1,236
He could use average hobbyist microcontroller to render 100x100 pixels anything above that is too much for MCU.For full screen resolution you would need something with much bigger processing power.
 

WBahn

Joined Mar 31, 2012
32,823
He could use average hobbyist microcontroller to render 100x100 pixels anything above that is too much for MCU.For full screen resolution you would need something with much bigger processing power.
That would depend on what else you are asking it to do. About 15 years ago PIC-Pong was done using a PIC16C71 that produced NTSC-like output (256 line non-interlaced) directly via bit-banging in addition to running the code to play Pong, including the necessary character generation for the text.
 
You really need a video generator circuit.
You put data in its memory and it displays it for you.
I remember many years ago using a simple PC graphics card directly by poking data into its memory.
 

ErnieM

Joined Apr 24, 2011
8,415
The Maximite is a PIC microcontroller project which gives a VGA output for a 480 x 432 color display directly no using video generator circuitry beyond a few resistors and a connector.

I have not examined the source code to discover what high level language it is written in, but it certainly could be done in C/C++.
 
Top