Adding encoders to the Robot object

To use this sensor in other code or behaviors, we should move it into the Robot object. We can then import our code into the Robot object, and set up the two sides with the correct pins. The encoders need some cleanup code to be added to them.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset