Skip to content

🎃 Arduino sketch to create spooky 'fire' effect for Adafruit Circuit Playground using the onboard neopixels

License

Notifications You must be signed in to change notification settings

danesparza/CircuitPlaygroundFire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

CircuitPlaygroundFire

Spooky fire effect for Adafruit Circuit Playground

I have tested this with an Adafruit Circuit Playground Express

I recommending powering this with a USB battery charger or just plugging it into a USB wall socket adapter.

Flame colors

You can also adjust some parameters of the sketch to easily tweak the fire effect. Here, we are using an orange flame effect by default:

RGB flameColors[] = {
  { 226, 121, 35},  // Orange flame
  { 158, 8, 148},   // Purple flame 
  { 74, 150, 12},   // Green flame
  { 226, 15, 30},   // Red flame
  { 0, 128, 255}    // Blue flame
  };

Changing the flame color after it's powered on

Circuit playground buttons

You can adjust what color is used by using the two main buttons on the circut playground to cycle through the color array when it's plugged in and has power. It will always reset to the first item in the array when it's powered on (so if you want a different default color, just update the array to have your favorite color first).

About

🎃 Arduino sketch to create spooky 'fire' effect for Adafruit Circuit Playground using the onboard neopixels

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages