Skip to content

Commit 42ef3c6

Browse files
Merge 0682664 into ed504c5
2 parents ed504c5 + 0682664 commit 42ef3c6

File tree

1 file changed

+4
-2
lines changed
  • content/arduino-cloud/03.cloud-interface/02.variables

1 file changed

+4
-2
lines changed

content/arduino-cloud/03.cloud-interface/02.variables/variables.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,10 @@ To read the location values, we can use the following method `Location coordinat
265265

266266
| Property | Type | Read value | Set value |
267267
| --------- | ------- | ----------------- | --------------------------- |
268-
| Latitude | `float` | `coordinates.lat` | This variable is ready only |
269-
| Longitude | `float` | `coordinates.lon` | This variable is ready only |
268+
| Latitude | `float` | `coordinates.lat` | See information below |
269+
| Longitude | `float` | `coordinates.lon` | See information below |
270+
271+
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);`.
270272

271273
***The format of the `lat` and `lon` is in Decimal Degrees (DD), for example `41.40338`, `2.17403`.***
272274

0 commit comments

Comments
 (0)