What type of variable do I need to blink faster, slower

Thread Starter

hbasile91

Joined Dec 6, 2020
67
Im using Arduino IoT Cloud with Arduino MKR WiFi 1010

I am trying to control speed of blink in DASHBOARD, not in the sketch/editor, so that I can use my smart phone to control it

I tried "time" (although I might not be doing it right)

Im unsure how to set this up...I have a thing created for it, and the LED does blink, but how do I get to the point where the dashboard and variables actually connect, so I can control it with my phone?
 

Thread Starter

hbasile91

Joined Dec 6, 2020
67
https://www.arduino.cc/en/Tutorial/iot-cloud-getting-started

Nobody on the Arduino forum can help you with this?
I haven't found anything online that explains how to make the code so that you can control blink speed with the variable "slider" or other dashboard features...

I mean, I can go on and change it once at a time, in the sketch, but how do I make it so that the button on the dashboard will change the blink speed, and continue to do this as many times as you want without changing the sketch itself


...I don't know the code for that, and im having trouble finding help online
 

wayneh

Joined Sep 9, 2010
17,031
So does your Dashboard have a working link to the LED, meaning the problem is "just" code to control the LED? Or are you struggling to make a connection?
 
Top