Shop OBEX P1 Docs P2 Docs Learn Events
Eddie 36 position encoders — Parallax Forums

Eddie 36 position encoders

Brian_BBrian_B Posts: 842
edited 2012-12-15 10:57 in Robotics
Hi All,
Just installed the new encoders on my robot with the eddie controller board on it, as soon as I call the qaud encoder object every thing locks up.

Here is some simple code that I've tried , nothing works until I comment out the encoder start and reload the program.

I'm guessing that 2 pin's are being called for the same job but I can't find it, any help would be great.


Brian

Comments

  • W9GFOW9GFO Posts: 4,010
    edited 2012-12-14 16:45
    Hey Brian, long time no see!

    Sorry, haven't used the new encoders...
  • Brian_BBrian_B Posts: 842
    edited 2012-12-15 04:53
    Hi Rich !
    I don't get much time in the summer for robot stuff ,to much baseball ,4h ,soccer and other kid related stuff.

    The encoders are not the problem ,just calling the encoder object for 2 encoders starting at pin 0 locks up the eddie board.

    I'm not sure if I have the clock set wrong or if there is somthing else using pin 0-4.

    here is my start code.

    Thanks'
    Brian
  • Brian_BBrian_B Posts: 842
    edited 2012-12-15 10:57
    Found It !,
    I knew it was something dump.

    Right: coder.start(0,2,2 , @spot) Wrong: coder.start(0,2,2,spot)



    Brian
Sign In or Register to comment.