Skip to content

Commit e559b5e

Browse files
committed
IoTC Maintenance March
Added missing variables + widgets
1 parent 7ab0da5 commit e559b5e

File tree

4 files changed

+41
-1
lines changed

4 files changed

+41
-1
lines changed
133 KB
Loading
2.77 MB
Loading
103 KB
Loading

content/arduino-cloud/01.getting-started/06.dashboard-widgets/dashboard-widgets.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,49 @@ The chart widget is great for data analytics. It is used to track real time data
318318
An example of how it is used in a sketch:
319319

320320
```arduino
321-
locationChart = analogRead(A0);
321+
variable = analogRead(A0);
322322
```
323323

324+
### Advanced Chart
325+
326+
![Advanced Chart Widget](assets/widget-advanced-chart.gif)
327+
328+
The advanced chart widget allows you to track up to **5 variables simultaneously**. This widget also includes an additional configuration interface that appears while editing the widget.
329+
330+
![Widget Configuration](assets/widget-advanced-chart-2.png)
331+
332+
An example of how it is used in code:
333+
334+
```arduino
335+
variable_1 = analogRead(A1)
336+
variable_2 = analogRead(A2)
337+
variable_3 = analogRead(A3)
338+
variable_4 = analogRead(A4)
339+
variable_5 = analogRead(A5)
340+
```
341+
342+
***Check out the [Advanced Chart](/arduino-cloud/features/advanced-chart) guide for more information.***
343+
344+
### Scheduler
345+
346+
![Scheduler Widget](assets/widget-scheduler.png)
347+
348+
The Scheduler Widget allows you to schedule a job in the future. With this widget, you can schedule:
349+
- A job to activate at a specific hour, minute and second.
350+
- A job to execute only on specific days.
351+
- A job that should last for X amount of seconds, minutes or hours.
352+
353+
In a sketch, use the `x.isActive()` boolean to check whether a state is active.
354+
355+
Example:
356+
357+
```arduino
358+
if(scheduleVariable.isActive){}
359+
```
360+
361+
362+
***Check out the [Scheduler](/arduino-cloud/features/cloud-scheduler) guide for more information.***
363+
324364
### Sticky Note
325365

326366
![Sticky Note](assets/widget-sticky-note.png)

0 commit comments

Comments
 (0)