Exercise 1
Modify the code to light up pixel by pixel then reverse the sequence turning each pixel off one by one
We’ll create a simple version of the ambient orb first. It will work as follows:
I changed the number from 50 to 2.5, and added a new cloud function "Red" to turn on the light. It took a long time to figure out how to connect to ifttt platform. I changed the function command from string to number because I don't why string don't work.
int TurnOn(String command){
if(command==TurnOn){
}
int setRed(String command){
int number = atoi(command);
if(number ==1){
red = number;
}
return red;
}
You can upload files of up to 20MB using this form.