Putting the hat on the Pi

Remove all power from the Pi, and make sure the battery pack is switched off. Also, remove the cobbler from the GPIO pins if it is still attached. Then, line up the sockets on the bottom of the hat with the pins on the top of the Pi, in the direction that makes it so the hat is situated over the Pi. Then, gently press down on the hat until it settles. Don't press hard— you may bend some of the Pi's pins. When all is said and done, it should look something like this:

And the motor should be plugged into the screw terminals, like so:

Re-apply power to the Pi, and we'll get started coding using the Johnny-Five motor object.

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

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