Shop OBEX P1 Docs P2 Docs Learn Events
Looking for a tv/vga mouse click i/o demo — Parallax Forums

Looking for a tv/vga mouse click i/o demo

kf4ixmkf4ixm Posts: 529
edited 2010-02-22 15:43 in Propeller 1
hi all, i was wondering if someone knows of a propeller demo that would use a vga or tv with mouse clicks to control i/o pins on the propeller. after seeing Chris D's videos of his cnc machine (here), on the video of the control system (http://www.youtube.com/watch?v=PSuObtH2Tng). im just looking for a simple demo that would show some clickable lables that would toggle some i/o pins on prop lab or prop dev board. i am just learning the prop and im just curious to see how such a program works (object interaction, etc), how the vga/mouse and i/o all work together. if it just had 2-3 blocks to click to control 2-3 i/o pins would be great for me. maybe some sort of r-c feedback would be cool too! [noparse]:)[/noparse] i think a demo like this would be beneficial to people new to the propeller. i for one seem to learn better with real-world examples, then playing with them to learn how they work.

Comments

  • RsadeikaRsadeika Posts: 3,837
    edited 2010-02-21 17:32
    In the Obex, there is a C program that demos the VGA, and mouse, but I do not know if it toggles any pins. You might want to check it out, maybe you can insert some code lines that will do what you want.

    Ray
  • kf4ixmkf4ixm Posts: 529
    edited 2010-02-21 20:56
    Thank you, but im really looking for something in .spin. like a set of objects that already work together, just to demonstrate clicking on an object, then toggling a pin on and off, or an led on a prop lab or prop dev board. i really don't want to go down the 'c' road right now.
  • WatkinsWatkins Posts: 1
    edited 2010-02-22 01:20
    Here's something you may want to look at. It's the "Text based GUI for VGA_HiRes_Text Driver (revised)" posted to the object exchange by Allen Marincak. Fully integrated·keyboard, mouse, and VGA support with 'active' GUI Objects.· Includes a Demo object you could use as an advanced·starting point.

    http://obex.parallax.com/objects/413/

    The code is in spin and is fairly straightforward. You can try clicking on one of the GUI objects and search the code for the message that displays in the console. Add some code to toggle a pin or two and you've got your demo. smile.gif

    Post Edited (Watkins) : 2/22/2010 1:26:04 AM GMT
  • kf4ixmkf4ixm Posts: 529
    edited 2010-02-22 15:43
    Thanks! I think this is what i was looking for, it's a start anyway.
    Watkins said...
    Here's something you may want to look at. It's the "Text based GUI for VGA_HiRes_Text Driver (revised)" posted to the object exchange by Allen Marincak. Fully integrated·keyboard, mouse, and VGA support with 'active' GUI Objects.· Includes a Demo object you could use as an advanced·starting point.

    http://obex.parallax.com/objects/413/

    The code is in spin and is fairly straightforward. You can try clicking on one of the GUI objects and search the code for the message that displays in the console. Add some code to toggle a pin or two and you've got your demo. smile.gif
Sign In or Register to comment.