Shop OBEX P1 Docs P2 Docs Learn Events
Joystick basics — Parallax Forums

Joystick basics

Chris DrzewieckiChris Drzewiecki Posts: 26
edited 2005-12-14 04:17 in BASIC Stamp
I was wondering if anyone could point me towards any info on how to interface an analog joystick to the BS2.· I looked around on the web and on this forum and found nothing other than discussion of it.· I didn't see any sample code or what needs to be done to implement it.

Thanks!


▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
-Chris

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2005-12-13 16:31
    Analog joystick?· Like the·One-of-8 position sort?· Just figure it as a set of 8 switches.· Make a routine to poll the status of the switches, much as with a keypad.
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-12-13 16:47
    Between Scott Edwards, Lon Glazner, and myself, a lot of ideas have been covered in the "Stamp Applications" column for Nuts & Volts magazine (my point is they're worth browsing).· Here's one that will help:

    http://www.parallax.com/dl/docs/cols/nv/vol2/col/nv70.pdf

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • Chris DrzewieckiChris Drzewiecki Posts: 26
    edited 2005-12-14 04:17
    Thanks guys. Jon your article is what I was looking for and more. Thank you very much. Too bad I didn't find out sooner in the day, since I never received any notification that anyone replied to this post.
    Thanks again!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    -Chris
Sign In or Register to comment.