Shop OBEX P1 Docs P2 Docs Learn Events
LED as button. — Parallax Forums

LED as button.

Clock LoopClock Loop Posts: 2,069
edited 2009-06-28 13:16 in Propeller 1
Anyone do the LED as a button on the propeller?

I did a search, but searching on LED and button, is going to get you a million posts.

Post Edited (Clock Loop) : 6/22/2009 4:41:47 AM GMT

Comments

  • WNedWNed Posts: 157
    edited 2009-06-22 05:11
    There have been several threads about this over the years. Are you looking for a specific example?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "They may have computers, and other weapons of mass destruction." - Janet Reno
  • Clock LoopClock Loop Posts: 2,069
    edited 2009-06-22 05:26
    WNed said...
    There have been several threads about this over the years. Are you looking for a specific example?

    Sure, im sure if not in propeller, then perhaps in SX or BS2..

    Once i make the prop code, i will post it here, if no one has.

    Its a neat demo, easily made.
  • LeonLeon Posts: 7,620
    edited 2009-06-22 09:48
    Is this the sort of thing you were looking for?

    cs.nyu.edu/~jhan/ledtouch/index.html

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • Clock LoopClock Loop Posts: 2,069
    edited 2009-06-22 10:12
    Leon said...
    Is this the sort of thing you were looking for?

    cs.nyu.edu/~jhan/ledtouch/index.html

    Leon

    Exactly.

    I found a BS2 version.

    www.parallax.com/Portals/0/Downloads/docs/prod/robo/LEDLightEmitterandDetector7-31-07.pdf
  • WNedWNed Posts: 157
    edited 2009-06-22 13:21
    Here are a couple of examples. I haven't gotten around to trying either of them yet...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "They may have computers, and other weapons of mass destruction." - Janet Reno
  • Clock LoopClock Loop Posts: 2,069
    edited 2009-06-28 07:29
    ledinout.spin works if you use a 33ohm resistor. (not 330 or 220)


    newLEDIO works great and it does it in assembly so you can start to understand asm..

    An awesome, simple spin versus asm example right here people.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    TERMS OF USE: MIT License

    "Permission is hereby granted, free of charge, to any pers...........................
    ..............................OMITTED FOR FORUM...............................................
    .................. OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. "
  • Nick MuellerNick Mueller Posts: 815
    edited 2009-06-28 12:57
    Now that is interesting!
    Where can I read more about it, please?


    TIA,
    Nick

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never use force, just go for a bigger hammer!

    The DIY Digital-Readout for mills, lathes etc.:
    YADRO
  • LeonLeon Posts: 7,620
    edited 2009-06-28 13:05
    It's explained very well in the newLEDIO.spin comments.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • Nick MuellerNick Mueller Posts: 815
    edited 2009-06-28 13:16
    > It's explained very well in the newLEDIO.spin comments.

    Didn't think of that. smile.gif

    Here's a ink: <http://projects.dimension-x.net/technology-and-projects/ledsensors&gt;
    And for us Krauts: <http://www.geoclub.de/viewtopic.php?t=5753&gt;

    Edit:
    And here is the original and fullblown description: <http://www.merl.com/publications/TR2003-035/&gt;


    Nick

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Never use force, just go for a bigger hammer!

    The DIY Digital-Readout for mills, lathes etc.:
    YADRO

    Post Edited (Nick Mueller) : 6/28/2009 1:30:36 PM GMT
Sign In or Register to comment.