I thought I would share that the goal of the CheerLights project is learning. Here is a quote from website: "You can think of CheerLights as a “Hello, World” project for learning IoT. CheerLights is a great starting point, then you can quickly adapt what you learn here to other types of IoT applications or electronics projects."
@leeg.1402 The trouble with Lori's connect function is that it has still been cut-and-pasted into the program. It would be much better (imo) to import it. I don't like cutting-and-pasting the same code ad nauseum.
@@charlotteswift I plan to import the function going forward. Still ... there is value in using functions just for the sake of gathering code for specific purpose in one place and making it more compact/readable.
@@LorisHW I wasn't meaning to be rude about the function being in the actual code rather than being imported. It was just that Lee had asked me about what to do with the wifi connect part of a program and I had suggested various things but none of them included copying the code into every program. Each to their own!!
@LorisHW, @@charlotteswift My plan was to make the 'connect' code into a module/function that could be imported into a program as needed (I couldn’t think of the correct word when I first mentioned it.) I truly appreciate (both of you) your efforts in posting these various solutions. Please accept my apology if I “ruffled anyone’s feathers”, that wasn’t my intent.
@bigbogeyface I believe the project holds all the changes and spaces them out so that the color will stay on some length of time and then go to the next color.