This FPGA design example demonstrates moving graphics on the NB3000 LCD. Four balls of different size and color are plotted on the LCD. moving around at different speeds. When a ball hits the boundary drawn on the LCD, it bounces back. The user can touch the screen to force the four balls to adopt the same center and start moving from that common location. The backlight of LCD cycles from minimum brightness through to maximum, then repeats. The example demonstrates the use of the PWMX Driver, Touchscreen Context and Graphics Context.
The TSK3000, PWM Controller (Extended), Touchscreen Pen Control, VGA 32 bit TFT Controller, Arbiter and SRAM controller are used in this example.
Altium Designer projects included in this download:
- NB3000_Bouncing_Balls.PrjFpg
- NB3000_Bouncing_Balls.PrjEmb