Skip to content

Commit d969b65

Browse files
authored
Merge pull request #49 from WildernessLabs/develop
Update 1.12.8
2 parents 39ad51b + 5bdc0c8 commit d969b65

File tree

229 files changed

+4634
-888
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

229 files changed

+4634
-888
lines changed
498 KB
Loading
673 KB
Loading
565 KB
Loading
-103 KB
Loading
-397 KB
Loading
406 KB
Loading

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ Sample applications for Meadow platforms, libraries and peripherals.
1919
* [Juego](#juego)
2020
* [GNSS Sensor Tracker](#gnss-sensor-tracker)
2121
* [Clima](https://github.com/WildernessLabs/Clima)
22+
* Cross-platform
23+
* [StartKit](#startkit)
2224
* [Support](#support)
2325

2426
## Meadow.Desktop
@@ -757,6 +759,45 @@ Meadow project samples with a Gnss Sensor Tracker. Click on any of these sample
757759

758760
[Back to top](#meadowsamples)
759761

762+
## StartKit
763+
764+
[![Multiplatform.Samples](Design/wildernesslabs-startkit-samples.jpg)](/Source/Azure/)
765+
766+
Meadow project samples build with StartKit. Same codebase runs on Meadow F7 devices, Desktop and Single-board-computers such as Raspberry Pi.
767+
768+
<table>
769+
<tr>
770+
<td>
771+
<a href="Source/MultiPlatform/WiFinder/"><img src="Design/wildernesslabs-meadow-startkit-ambientmonitor.jpg" /></a><br/>
772+
Send environmental data to Meadow.Cloud</br>
773+
<a href="Source/MultiPlatform/AmbientMonitor/">Source Code</a>
774+
</td>
775+
<td>
776+
<a href="Source/Azure/ProjectLab_AzureIoTHub/"><img src="Design/wildernesslabs-meadow-startkit-wifiweather.jpg"/></a><br/>
777+
Get local weather forecast using Meadow Startkit<br/>
778+
<a href="Source/MultiPlatform/WifiWeather/">Source Code</a>
779+
</td>
780+
<td>
781+
<a href="Source/Azure/Web_AzureIoTHub/"><img src="Design/wildernesslabs-meadow-startkit-galleryviewer.jpg"/></a><br/>
782+
Basic image viewer using Meadow StartKit</br>
783+
<a href="Source/MultiPlatform/GalleryViewer/">Source Code</a>
784+
</td>
785+
</tr>
786+
<tr>
787+
<td>
788+
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
789+
</td>
790+
<td>
791+
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
792+
</td>
793+
<td>
794+
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
795+
</td>
796+
</tr>
797+
</table>
798+
799+
[Back to top](#meadowsamples)
800+
760801
## Support
761802

762803
Having trouble building/running these projects?

Source/Azure/F7Feather_AzureIoTHub/F7Feather_AzureIoTHub.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<EmbeddedResource Include="Resources\img_wifi_fade.bmp" />
2727
</ItemGroup>
2828
<ItemGroup>
29-
<PackageReference Include="Meadow.AmqpNetLite" Version="*" />
29+
<PackageReference Include="Meadow.AmqpNetLite" Version="*" />
3030
<PackageReference Include="Meadow.F7" Version="*" />
3131
<PackageReference Include="Meadow.Foundation" Version="*" />
3232
<PackageReference Include="Meadow.Foundation.Graphics.MicroLayout" Version="*" />

Source/Azure/ProjectLab_AzureIoTHub/Hardware/MeadowAzureIoTHubHardware.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@ internal class MeadowAzureIoTHubHardware : IMeadowAzureIoTHubHardware
1515

1616
public IRgbPwmLed RgbPwmLed { get; set; }
1717

18-
public void Initialize()
18+
public MeadowAzureIoTHubHardware(IProjectLabHardware projLab)
1919
{
20-
ProjLab = ProjectLab.Create();
20+
ProjLab = projLab;
21+
}
2122

23+
public void Initialize()
24+
{
2225
Display = ProjLab.Display;
2326

2427
RgbPwmLed = ProjLab.RgbLed;

Source/Azure/ProjectLab_AzureIoTHub/MeadowApp.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@
77

88
namespace ProjectLab_AzureIoTHub;
99

10-
public class MeadowApp : App<F7CoreComputeV2>
10+
// Change ProjectLabCoreComputeApp to ProjectLabFeatherApp for ProjectLab v2
11+
public class MeadowApp : ProjectLabCoreComputeApp
1112
{
12-
MainController mainController;
13+
private MainController mainController;
1314

1415
public override async Task Initialize()
1516
{
1617
Resolver.Log.Info("Initialize...");
1718

18-
var hardware = new MeadowAzureIoTHubHardware();
19-
var network = Device.NetworkAdapters.Primary<IWiFiNetworkAdapter>();
19+
var hardware = new MeadowAzureIoTHubHardware(Hardware);
20+
var network = Hardware.ComputeModule.NetworkAdapters.Primary<IWiFiNetworkAdapter>();
2021

2122
mainController = new MainController(hardware, network);
2223
await mainController.Initialize();

0 commit comments

Comments
 (0)