Hot answers tagged

2 votes

AfMotor Shield Library does not work with template programming

Your code gives me a compiler error: in run(type); the run() method expects a uint8_t, but it is given a direction. Adding an explicit cast to uint8_t makes it compile. Now, as a general rule, I ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible