Shop OBEX P1 Docs P2 Docs Learn Events
tv and rca — Parallax Forums

tv and rca

pilot00pilot00 Posts: 30
edited 2009-09-19 16:46 in Propeller 1
I need someone to explain the tv pins please. I am not an assembly language programmer. Please see bottom of TV.spin that is attached.
I am looking for the way to change the pin assignments for the rca jack and broadcast.
Thanks.

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-09-19 16:46
    You'll notice first that the Demo program provides a block of 14 longs (called "tvparams") when it initializes the TV driver. This block is included at the end of the Demo program and matches the description of the parameters given in the comments at the end of TV.spin.

    Your Demo program has a value for tv_pins of %001_0101. From the comments, this specifies that I/O pins 8-15 are to be used (the 001) and that the video output is baseband (video) in the upper 4 bits (top nibble - the 0101) of the group of 8 pins (in other words ... pins 12-15). The actual video output uses pins 12-14 and an optional S-video output is on pin 15.

    If you want to change the pins used, change the "pins" value in "tvparams" in the Demo program and follow the description in the TV.spin comments.
Sign In or Register to comment.