Shop OBEX P1 Docs P2 Docs Learn Events
VGA example on C3 Board — Parallax Forums

VGA example on C3 Board

MJFMJF Posts: 19
edited 2012-09-22 01:35 in Propeller 1
I am looking for some demo code to display text on a VGA monitor for my propeller C3 board. Most of the examples I have found on the net don't seem to work on the C3 board but do work on my development board. Is this normal?
When I boot the C3 board up I get the test text on the VGA motor but as soon I try any of the code that works on my development board the screen goes blank.

Comments

  • Dave HeinDave Hein Posts: 6,347
    edited 2012-09-21 08:03
    You need to set bit 16 low on the C3 board to enable the VGA output. Just add the following two lines of code at the beginning of your Spin code.
      outa[16] := 0
      dira[16] := 1
    
  • AribaAriba Posts: 2,690
    edited 2012-09-21 09:08
    I think it is P15 and not P16 which enables the VGA:
      outa[15] := 0
      dira[15] := 1
    

    Andy
  • Dave HeinDave Hein Posts: 6,347
    edited 2012-09-21 09:46
    Yes, it's P15 and not P16. Next time I'll check my code instead of relying on my memory. Oh wait, I seem to recall that I said that the last time I misremembered something. :)
  • MJFMJF Posts: 19
    edited 2012-09-22 01:35
    Thanks for the help, that works fine.
Sign In or Register to comment.