A simpler build of the "Adafruit Multitasking the Arduino" lesson. Uses one neopixel ring (rather than 2 rings and a neopixel strip) and two push buttons on a mini breadboard.

Based on the mutitasking ("way more responsive when not using delay() function" ) lesson at Adafruit, but requiring fewer elements.

 

The wiring at https://learn.adafruit.com/multi-tasking-the-arduino-part-3/wiring didnt work for what i had on-hand, so i simplified the project.

 

Grab the code from the official tutorial, and change the line (around line 299) to 

"NeoPatterns Ring1(12, 5, NEO_GRB + NEO_KHZ800, &Ring1Complete);" or whatever matches your NeoPixel ring.

 

BONUS: leaving the rest of the code as is allows you to physicaly move your digitalpin from 5 to 6 to 7 to get the other patterns that would power the bigger ring and the strip in the original tutorial.

 

also, thought this would be a good simple build for learning the fritzing tool. 

 

good luck!

mario

 

 

Login to post a comment...

damoyelang1992 1 year, 11 months ago

qinfei