magicMotor(motorPortNumber, motorPowerLevel, distance, encoderPortNumber(s))
magicMotor(10, 255, 3000, 0); // Turn on motor port 10 full power, for 3000 tick from encoder on interrupt port 0magicMotor(11, 255, 3000, 2); // Turn on motor port 11 full power, for 3000 tick from encoder on interrupt port 2
Is this even possible without multi-threading?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16