by Kristallo » Sun Dec 31, 2006 1:44 pm
Most monitors are much faster than that and pwm will make a pattern instead of different levels. I have run 50 MHz on very old VGA monitors and even then there is no hope of using PWM.
Your best bet might be to use the colours you got and find the error from the colour you want and add that to the next pixel. It will give the correct colour on average and if the residual error is passed to the next frame too you get an average over time. This is an old trick to display photographs on computers with only 256 colours.
8 colours is not enough to get a good display unless the frequency is extremely high, with 256 colours you can begin approximate a 24 bit display.
You probably need to add a 3x4 bit R-2R D/A circuit to get a really nice display.