Shop OBEX P1 Docs P2 Docs Learn Events
hm55b and propeller — Parallax Forums

hm55b and propeller

pilot00pilot00 Posts: 30
edited 2009-05-12 21:24 in Propeller 1
I am having trouble getting some code to work with the compass.
The code works separately but not when I use the compass values to trigger the
conditional statements.

Any ideas??

Thanks

Code attached. The "compass switch test" inputs through "fullduplexserialplus" one value at a time and triggers the conditional statment.
The "compass switch" uses an input from the compass and the other from "fullduplexseriallplus:. Whether I use CASE or IF statments
it does not work with the compass.

Comments

  • pilot00pilot00 Posts: 30
    edited 2009-05-12 21:24
    I fixed the problem it was a simple syntax error. Thanks to all for looking at the code.
Sign In or Register to comment.