Comments (5)
You mean in GreenFire.ino ?
from arduino-particle-sys.
Yes.
from arduino-particle-sys.
In this line, you can see how the particles hue is set: https://github.com/giladaya/arduino-particle-sys/blob/4dac7499a/examples/GreenFire/GreenFire.ino#L75
This can be used to set a different hue each cycle, so if you add the following line to the loop function it should work though I haven't tested it:
Emitter_Fire::baseHue = (Emitter_Fire::baseHue +1) % 255;
BTW, I think the non-particle sys fire example looks more realistic:
https://github.com/giladaya/arduino-led-matrix/tree/master/fire
from arduino-particle-sys.
If I understand what you are saying correctly. I need to insert that line in place of the one you highlighted, correct? If that is right then it does not work. All replacing that line does is change the color to a dark blue and it stays that way.
BTW, I am completely new to programming this type of program, so please correct me if I am wrong.
from arduino-particle-sys.
I feel like such an idiot but None of your sketches compile! I constantly get the same error: rb.init(); was not declared in this scope. I don't know what this means. I'm sure the problem is an easy fix as it applies to every sketch of yours I've tried to compile. I love the YouTube videos and was hoping to see the real thing on my Rainbowduino. What am I doing wrong?
from arduino-particle-sys.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-particle-sys.