Skip to main content
johnspeth
Visitor II
May 21, 2010
Question

Pong game or composite video for STM32

  • May 21, 2010
  • 3 replies
  • 1194 views
Posted on May 21, 2010 at 17:55

Pong game or composite video for STM32

#cortex
    This topic has been closed for replies.

    3 replies

    Tesla DeLorean
    Guru
    May 17, 2011
    Posted on May 17, 2011 at 13:52

    Here 30 years in the future, we use LCD screens.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    tomlinson
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 13:52

    LCD screens are ok but what if someone wants composite video to create a game console? I am looking for the exact same thing. so if someone knows a open source code for a PONG game on a oposite video i would be more than happy.

    Thanks

    R

    Christopher Pappas
    Senior II
    April 19, 2014
    Posted on April 19, 2014 at 04:55

    This may not be helpful, but I thought i would just post it, since it was a solution that worked for me.

    https://sites.google.com/site/suprabotics/stm429-discovery-expansion-board-v2-0/home 

    After trying with no success to get the timing right for the STM32F429I-Discovery board to generate a composite video output (to display on a small TV set), I just gave up on the whole TV composite concept

    I wired the H-Sync, V-Sync, RGB input pins of an old Samsung VGA monitor directly to the pins on the discovery board  (only used B7, C7, and G7 pins for a total of 8 colors, similar to the arcade machines of old.)

    I translated the code for the VGA_Demo from Keil to em::blocks. Easy!

    Results: A 640x480 color screen with 8 colors. Cost equals Zero!

    Graphic library is included in the code. Draws, fills, geometry, buffering, screen copy, sprites, etc.

    Code up your own Pong Game ;)

    Beats trying to run on a tiny 2.5 inch LCD Screen.