Skip to content

Commit

Permalink
Add Meadow.Cloud integration
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgedevs committed Jun 13, 2024
1 parent 57e9ecc commit 699e7d4
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/Meadow/Meadow_Desktop/Display_Silk/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ Meadow.Desktop includes a built-in Window that can render MicroGraphics directly

### Using Meadow.Desktop's Display

When running a Meadow.Desktop app, you can immediately access its integrated Silk.NET display by referencing the `Display` property exponsed by `Device`:
When running a Meadow.Desktop app, you can immediately access its integrated Silk.NET display by referencing the `Display` property exposed by `Device`:

```csharp
IResizablePixelDisplay display = Device.Display;
```

The default display says is 320x240, which is Project Lab's onboard display's resolution.
The default display size is 320x240, which is the same as Project Lab's onboard display.

### Adjust `Display` dimensions and scaling

Since that `Device.Display` is a `IResizablePixelDisplay`, you can change the resolution to whatever dimensions you want using the `Resize()` method:
Since that `Device.Display` is a `IResizablePixelDisplay`, you can change the display's resolution to whatever you want using the `Resize()` method:

```csharp
Device.Display.Resize(width: 400, height: 300);
Expand Down
33 changes: 32 additions & 1 deletion docs/Meadow/Meadow_Desktop/Meadow_Cloud_Integration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,35 @@ title: Meadow.Cloud Integration
subtitle: Meadow.Cloud Integration
---

Meadow.Cloud Integration
As you start building Meadow applications on your development machine with Meadow.Desktop, you can use Meadow.Cloud's Logging to send telemetry data using actual or simulated sensors. There's only a couple things you need to do:

### Step 1: Provision your development machine

Make sure to <a href="../../Meadow.Cloud/Device_Provisioning/" target="_blank">provision your development machine</a> to Meadow.Cloud with your Wilderness Labs Account.

### Step 2: Enable Meadow.Cloud on your app

In the `app.config.yaml` file, you need to enable Meadow.Cloud features:

```yaml
# Logging configuration.
Logging:

# Adjust the level of logging detail.
LogLevel:

# Trace, Debug, Information, Warning, or Error
Default: Trace

# Meadow.Cloud configuration.
MeadowCloud:

# Enable Logging, Events, Command + Control
Enabled: true
```
:::caution
Command + Control, Health Metrics and OTA Updates are currently not supported on Meadow.Desktop.
:::
Once enabled, you can now use Meadow.Cloud's <a href="../../Meadow.Cloud/Logs_Events/" target="_blank">Logs and Events</a> as you would on a Meadow F7 device.

0 comments on commit 699e7d4

Please sign in to comment.