From f385e72c3c38287150d35e65a6bafb0690b3a5d8 Mon Sep 17 00:00:00 2001 From: BenjaminDannegard Date: Tue, 17 Jun 2025 15:45:27 +0200 Subject: [PATCH 1/3] Updated cloudlocation docs --- .../03.cloud-interface/02.variables/variables.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/arduino-cloud/03.cloud-interface/02.variables/variables.md b/content/arduino-cloud/03.cloud-interface/02.variables/variables.md index 8c8487006b..386c92bbdc 100644 --- a/content/arduino-cloud/03.cloud-interface/02.variables/variables.md +++ b/content/arduino-cloud/03.cloud-interface/02.variables/variables.md @@ -265,8 +265,10 @@ To read the location values, we can use the following method `Location coordinat | Property | Type | Read value | Set value | | --------- | ------- | ----------------- | --------------------------- | -| Latitude | `float` | `coordinates.lat` | This variable is ready only | -| Longitude | `float` | `coordinates.lon` | This variable is ready only | +| Latitude | `float` | `coordinates.lat` | `latitude = latitudeValue;` | +| Longitude | `float` | `coordinates.lon` | `longitude = longitudeValue;` | + +To set the coordinates for the CloudLocation, we pass the location variables to the CloudLocation variable `x = Location(latitude, longitude);`. ***The format of the `lat` and `lon` is in Decimal Degrees (DD), for example `41.40338`, `2.17403`.*** From f44ec4132261dcb8eb0a852dd1d642c2edc09dd2 Mon Sep 17 00:00:00 2001 From: BenjaminDannegard Date: Mon, 23 Jun 2025 15:15:02 +0200 Subject: [PATCH 2/3] Update content/arduino-cloud/03.cloud-interface/02.variables/variables.md Co-authored-by: Per Tillisch --- .../03.cloud-interface/02.variables/variables.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/arduino-cloud/03.cloud-interface/02.variables/variables.md b/content/arduino-cloud/03.cloud-interface/02.variables/variables.md index 386c92bbdc..10925f0909 100644 --- a/content/arduino-cloud/03.cloud-interface/02.variables/variables.md +++ b/content/arduino-cloud/03.cloud-interface/02.variables/variables.md @@ -265,8 +265,8 @@ To read the location values, we can use the following method `Location coordinat | Property | Type | Read value | Set value | | --------- | ------- | ----------------- | --------------------------- | -| Latitude | `float` | `coordinates.lat` | `latitude = latitudeValue;` | -| Longitude | `float` | `coordinates.lon` | `longitude = longitudeValue;` | +| Latitude | `float` | `coordinates.lat` | See information below | +| Longitude | `float` | `coordinates.lon` | See information below | To set the coordinates for the CloudLocation, we pass the location variables to the CloudLocation variable `x = Location(latitude, longitude);`. From 0682664295aec0f48bd797c9f5cca093abc3bedd Mon Sep 17 00:00:00 2001 From: BenjaminDannegard Date: Mon, 23 Jun 2025 15:15:20 +0200 Subject: [PATCH 3/3] Update content/arduino-cloud/03.cloud-interface/02.variables/variables.md Co-authored-by: Per Tillisch --- .../arduino-cloud/03.cloud-interface/02.variables/variables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/arduino-cloud/03.cloud-interface/02.variables/variables.md b/content/arduino-cloud/03.cloud-interface/02.variables/variables.md index 10925f0909..623e4211b9 100644 --- a/content/arduino-cloud/03.cloud-interface/02.variables/variables.md +++ b/content/arduino-cloud/03.cloud-interface/02.variables/variables.md @@ -268,7 +268,7 @@ To read the location values, we can use the following method `Location coordinat | Latitude | `float` | `coordinates.lat` | See information below | | Longitude | `float` | `coordinates.lon` | See information below | -To set the coordinates for the CloudLocation, we pass the location variables to the CloudLocation variable `x = Location(latitude, longitude);`. +The value of a `CloudLocation` variable is set using a `Location` object. The coordinate values are passed as arguments to the `Location` constructor: `x = Location(latitude, longitude);`. ***The format of the `lat` and `lon` is in Decimal Degrees (DD), for example `41.40338`, `2.17403`.*** pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy