Shop OBEX P1 Docs P2 Docs Learn Events
vga-output — Parallax Forums

vga-output

nomadnomad Posts: 276
edited 2007-03-04 14:22 in Propeller 1
VGA-output
hi,
for testing purpose,
i running the VGA_Demo.spin-program.
it's OK
when i running the the VGA_Text.spin
nothing happens.
i think its a object???
it's possible with the VGA_Demo.spin or
the VGA_Text.spin
to do this:

VAR
· Byte Value (0-256)
· repeat
··· ...
··· value := ..<calculations>
···
··· print(value) on the monitor (vga)
or, how can y convert a number := 2
to a char?
have somebody code or a program
for this purpose.
all help are welcome
regards
nomad

Comments

  • inserviinservi Posts: 113
    edited 2007-03-03 13:59
    Hello,

    You simply need to use the "FloatString" object.

    Load the "1-wire routines" sample in the Propeller Object Exchange. You will have samples with TV_text and VGA_text which are very similar for code.
    You can change the 1-wire call by your values for test.

    dro.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    in medio virtus
  • Paul BakerPaul Baker Posts: 6,351
    edited 2007-03-03 19:18
    VGA_Text is a worker object, it doesn't output·anything on it's own. Look at VGA_Text_Demo for example of how to use the VGA_Text object. The functions dec, bin and hex will will format a variable's value and print it to the screen.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Paul Baker
    Propeller Applications Engineer

    Parallax, Inc.

    Post Edited (Paul Baker (Parallax)) : 3/3/2007 7:23:57 PM GMT
  • nomadnomad Posts: 276
    edited 2007-03-04 09:31
    hi,

    thanks for your help.

    now i testing the stuff

    regards

    nomad
  • nomadnomad Posts: 276
    edited 2007-03-04 14:22
    hi folks,
    fine it running
    thanks
    regards
    nomad
Sign In or Register to comment.