04-01-2017 03:26 PM
Hello
iam using myrio and connected to it Pmod CMPS and two DC motor
the compass (Pmod CMPS) demo(demo is came with myrio ) has timed loop but to be honest i did used timed loop before and i dont know why the reading of the compass inside it
so my program is to read from compass and regard the change of the angle i have to control the dc motor but to make live easy i replace the timed loop with while loop also i place the control of the dc motor in same loop
but i dont know if what i did is correct ?
because my program is not working properly , any idea ?
04-07-2017 01:55 PM
Hello,
How do you know that your program is not running properly?
What are you seeing? Errors?
What do you expect to see?
Can you please attach your code?
Danielle
National Instruments