Shop OBEX P1 Docs P2 Docs Learn Events
Accelerometer controlling servo's — Parallax Forums

Accelerometer controlling servo's

tgraz34tgraz34 Posts: 16
edited 2010-03-23 01:56 in Learn with BlocklyProp
Hey, can someone please help me change this code so that it doesn't use transceivers and receivers. Also instead of continuously rotating servos i need to put standard servos on so that it wont keep rotating. Im trying to make this code similar to the link i posted. The first link is the code i need to change and the second link is the project im trying to make with this code.


http://forums.parallax.com/showthread.php?p=524063

sites.google.com/site/teamtobor/marble-maze

Comments

  • FranklinFranklin Posts: 4,747
    edited 2010-03-23 01:56
    I'd start by scrapping the code and writing your own. Write out a script of what you want to happen and how you plan to get input. Make sure that part makes sense then start your coding. All servos use pulsout for control so read that section of the syntax manual and get some sample code from the servo page in the store.

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