You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file examples/Firmware_for_MegaPi/Firmware_for_MegaPi.ino (0e.01.016 and earlier) line 1386
readShort(8) should be changed to readShort(9)
This is in the "runModule" function under the "ENCODERBOARD" case.
Buffer location 8 contains the "read_type", location 9 is where the "speed_value" starts.
The attached Node JS code runs two encoder motors at continuously varying speeds. Without the suggested modification, the motors only run at one forward or backward speed.
In file examples/Firmware_for_MegaPi/Firmware_for_MegaPi.ino (0e.01.016 and earlier) line 1386
readShort(8) should be changed to readShort(9)
This is in the "runModule" function under the "ENCODERBOARD" case.
Buffer location 8 contains the "read_type", location 9 is where the "speed_value" starts.
The attached Node JS code runs two encoder motors at continuously varying speeds. Without the suggested modification, the motors only run at one forward or backward speed.
encoderMotorRunSpeed.zip
The text was updated successfully, but these errors were encountered: