GithubHelp home page GithubHelp logo

Comments (5)

giladaya avatar giladaya commented on June 18, 2024

You mean in GreenFire.ino ?

from arduino-particle-sys.

FloraColossus avatar FloraColossus commented on June 18, 2024

Yes.

from arduino-particle-sys.

giladaya avatar giladaya commented on June 18, 2024

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.

FloraColossus avatar FloraColossus commented on June 18, 2024

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.

fredolivas avatar fredolivas commented on June 18, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.