Skip to Content
Learn Robotics Programming
book

Learn Robotics Programming

by Danny Staple
November 2018
Beginner
472 pages
13h 5m
English
Packt Publishing
Content preview from Learn Robotics Programming

Programming RGB Strips in Python

LED lights can be used with a robot to debug and give it feedback, so the code running on the robot can show its state. Colored RGB LEDs let you mix the red, green, and blue components of light to make many colors, adding brightness and color to a robot. We've not paid much attention to making it look fun, so this time we can add some of that.

In this chapter we will learn the following:

  • How to choose and buy LED technologies that will work with the Raspberry Pi and look good on our robot
  • How to attach them to the robot
  • How to write lighting code to create dynamic displays
  • How to integrate them with a behavior and display a rainbow
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Robotics Programming - Second Edition

Learn Robotics Programming - Second Edition

Danny Staple

Publisher Resources

ISBN: 9781789340747Supplemental Content