Kurt
Thanks a lot. About Serial4 writing out, I reduced the size of the string I am sending, and I think is not blocking anymore.
I don't see the blockage on the scope like before.
However, it seems it's blocking...
Thank you everyone,
Me writing a new library for Roboclaw? Way beyond my abilities.
I will have to live with it. Would implementing the new teensy 4.0 help? Probably not.
Second issue:
Once every 200 mS I...
Kurt,
Thanks for the detailed explanation.
I think this is as good as it gets. I can call the read every 10 ms and that means I refresh 100 times a sec.
I heard that a guided mislle refreshes the algorithm 2000...
Thanks for the reply,
Yes the roboclaw is now basic micro
https://www.basicmicro.com/downloads
Yes, I am sending commands to be finished by the controller, but I have to know when they are done to move to the...
I am using a 3.5 to run a robotic arm, 6 points of inflection, controlled by 3 DC motor controller with Quadrature encoders.
It is essential to read the encoders all the time, so I know my XYZ and when a motion is...
I unplugged the USB in the middle of a long sketch upload. I had to.
The teensy is running a robot arm and it went berserk...
After recovery, the Teensy USB port is not even seen on my Mac
On windows, it says...
Thanks a lot, I wish the Arduino website was correct,
The show:
Example Code
int a = 50;
int b = 10;
int c = 0;
c = a / b; // the variable 'c' gets a value of 5 after this statement is executed
Thanks everyone
fmod worked really nice
new_Th= fmod (new_Th,90); // first is the Number and second is the Factor
I did not have to ad any library, just added
#include "math.h". at the top, that has it
...
Is that true?
I tried newX = newX_St.toDouble(); and I got a "No class member toDouble"
Too bad I need the precision,
I tried the next best thing, ToFloat and it works.
BUT:
I can not use the modulo in...