4. Units Operation

10. Neo Pixel

35 views 2019-06-04 peterletintech 0

Hardware requirement

  • M5GO
  • Neo Pixel
  • Connecting wire

Neo Pixel, A light-emitting diode (LED) is a semiconductor light source that emits light when current flows through it. Electrons in the semiconductor recombine with electron holes, releasing energy in the form of photons.

In this tutorial, you can adjust the Neo Pixel light pattern by M5 coding.

 

How to use the unit

Step 1. Plugin the Neo Pixel unit. The count is the number of LED light bulb on the neo pixel.

Step 2. Choose “Set neopixel index rgb color” block under the Setup block.

Step 3. Execute it and see the result.

Step 4. Plug Neo Pixel unit with M5 in a correct way.

Step 5. Drag “Loop”, “repeat”, “variable” and “set neo pixel” block.

Step 6. Execute it and see the result. (Click it to see it)

Was this helpful?