The following are some questions related to this project along with some suggested code challenges. The idea is to provoke thought, test your understanding, and get you coding!

While the sketches provided in this guide work, there is room for improvement and additional features. Have fun playing with the provided code to see what you can do with it. Or do something new and exciting!

Questions

  • Is there any green in the color defined by 0xF0000D?
  • What color is defined by 0xFFBAD2?
  • How do you turn on more than one NeoPixel?
  • What is the hexadecimal value 0x04 in decimal?

Code Challenges

  • Use the slide switch to create a way to turn off/on all animations (power saver).
  • Use the light meter to automatically turn on animations when it gets dark.
  • Use the accelerometer as an input to an animation. (ex: spin/blink faster with acceleration).
  • Make your own animation!

This guide was first published on Apr 24, 2017. It was last updated on Apr 24, 2017.

This page (Questions and Code Challenges) was last updated on Apr 22, 2017.

Text editor powered by tinymce.