Shop OBEX P1 Docs P2 Docs Learn Events
Prop Quickstart and RCA. — Parallax Forums

Prop Quickstart and RCA.

fiero79fiero79 Posts: 8
edited 2014-02-07 17:36 in Propeller 1
I am using the TV_Text.spin file, and I would like to change the colors of the background, and font on the fly, maybe with an analog read or button interface... But I have not been able to change it in the software period, every variable that I think will change it does nothing... Still blue background white lettering. Also I would like to be able to change the font size, any help would be great. Tutorials already out there that can show, or just what variables need to be changed or even the right area to look.

Charlie

Comments

  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-02-07 13:11
    I think you can change the color with "SetColor" method.

    You can use a different palette with the method "SetColors". The parameter in this case is the memory location with the new palette.

    I haven't used TV_Text lately but I'm pretty sure I was able to change the color of text with the SetColor method.
  • fiero79fiero79 Posts: 8
    edited 2014-02-07 16:19
    will try that, but still looking for a way to change the size...
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-02-07 16:44
    fiero79 wrote: »
    will try that, but still looking for a way to change the size...

    The size is dependent on how many columns and rows you use.

    I don't think the present code lets you change it on the fly.

    These are the constants you'd need to change.
    CON
    
      X_LIMIT = 22 '20 '40  ' 23 is too many
      Y_LIMIT = 7 '13  ' 8 doesn't work
    

    I don't recall the original values. I think the added notes were from my attempt to get the text to look good on a small (2.5") display.
  • fiero79fiero79 Posts: 8
    edited 2014-02-07 17:36
    sounds like you were doing the same thing I was... I am using a 4.3" cheapy lcd from a rearview camera kit, and I modded tvtext to make it bigger font... but the screen flickers a bit and I am unsure yet if it is the screen or prop output... but hadn't found a way to change color yet and was looking for a more elegant way to make the font size bigger.

    charlie
Sign In or Register to comment.