Skip to content

Commit

Permalink
Release 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianstevens committed Jan 9, 2024
1 parent dd21e4b commit 0529fde
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 26 deletions.
Binary file modified Hardware/Enclosure/GNSS_Enclosure_Bottom.stl
Binary file not shown.
Binary file modified Hardware/Enclosure/GNSS_Enclosure_Top.stl
Binary file not shown.
Binary file modified Hardware/Enclosure/GNSS_Tracker_Enclosure.f3d
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using GnssTracker_SQLite_Demo.Models.Logical;
using Meadow;
using Meadow.Foundation;
using Meadow.Foundation.Graphics;
using Meadow.Foundation.Graphics.MicroLayout;
using Meadow.Logging;
Expand Down Expand Up @@ -50,12 +49,12 @@ public DisplayController(IGraphicsDisplay display)
var box = new Box(0, 0, DisplayScreen.Width, DisplayScreen.Height)
{
ForeColor = Color.White,
Filled = true
IsFilled = true
};
var frame = new Box(5, 5, 240, 112)
{
ForeColor = Color.Black,
Filled = false
IsFilled = false
};
TemperatureLabel = new Label(10, 10, DisplayScreen.Width - 20, LargeFont.Height)
{
Expand Down Expand Up @@ -117,13 +116,13 @@ public DisplayController(IGraphicsDisplay display)

DisplayScreen.Controls.Add(SplashLayout, DataLayout);

DataLayout.Visible = false;
DataLayout.IsVisible = false;
}

public void UpdateDisplay(AtmosphericModel conditions, LocationModel locationInfo)
{
SplashLayout.Visible = false;
DataLayout.Visible = true;
SplashLayout.IsVisible = false;
DataLayout.IsVisible = true;

TemperatureLabel.Text = $"Temp: {conditions.Temperature?.Celsius:n2}°C";
HumidityLabel.Text = $"Humidity: {conditions.RelativeHumidity?.Percent:n2}%";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<PackageReference Include="sqlite-net-static" Version="1.8.116" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Meadow.Foundation.Graphics.MicroLayout" Version="1.6.0" />
<PackageReference Include="Meadow.Foundation.Graphics.MicroLayout" Version="1.7.0" />
<ProjectReference Include="..\..\GnssTracker\GnssTracker.csproj" />
</ItemGroup>
</Project>
26 changes: 13 additions & 13 deletions Source/GnssTracker/GnssTracker.csproj
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
<Project Sdk="Meadow.Sdk/1.1.0">
<PropertyGroup>
<Version>1.7.0</Version>
<Company>Wilderness Labs, Inc</Company>
<Authors>Wilderness Labs, Inc</Authors>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<LangVersion>10.0</LangVersion>
<Nullable>enable</Nullable>
<PackageIcon>icon.png</PackageIcon>
<Authors>Wilderness Labs, Inc</Authors>
<TargetFramework>netstandard2.1</TargetFramework>
<OutputType>Library</OutputType>
<AssemblyName>GnssTracker</AssemblyName>
<Company>Wilderness Labs, Inc</Company>
<PackageProjectUrl>https://github.com/WildernessLabs/GNSS_Sensor_Tracker</PackageProjectUrl>
<PackageId>Meadow.GnssTracker</PackageId>
<RepositoryUrl>https://github.com/WildernessLabs/Meadow.ProjectLab</RepositoryUrl>
<PackageTags>Meadow.GnssTracker, Meadow, GnssTracker</PackageTags>
<Version>0.96.0</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>Convenience library for the Meadow GnssTracker family of boards</Description>
<Nullable>enable</Nullable>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<LangVersion>10.0</LangVersion>
</PropertyGroup>
<ItemGroup>
<None Include="icon.png" Pack="true" PackagePath="" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Meadow.F7" Version="1.6.0" />
<PackageReference Include="Meadow.Foundation" Version="1.6.0" />
<PackageReference Include="Meadow.Foundation.Displays.ePaper" Version="1.6.0" />
<PackageReference Include="Meadow.Foundation.Sensors.Atmospheric.Bme68x" Version="1.6.0" />
<PackageReference Include="Meadow.Foundation.Sensors.Environmental.Scd4x" Version="1.6.0" />
<PackageReference Include="Meadow.Foundation.Sensors.Gnss.NeoM8" Version="1.6.0" />
<PackageReference Include="Meadow.Foundation.Sensors.Motion.Bmi270" Version="1.6.0" />
<PackageReference Include="Meadow.F7" Version="1.7.0" />
<PackageReference Include="Meadow.Foundation" Version="1.7.0" />
<PackageReference Include="Meadow.Foundation.Displays.ePaper" Version="1.7.0" />
<PackageReference Include="Meadow.Foundation.Sensors.Atmospheric.Bme68x" Version="1.7.0" />
<PackageReference Include="Meadow.Foundation.Sensors.Environmental.Scd4x" Version="1.7.0" />
<PackageReference Include="Meadow.Foundation.Sensors.Gnss.NeoM8" Version="1.7.0" />
<PackageReference Include="Meadow.Foundation.Sensors.Motion.Bmi270" Version="1.7.0" />
</ItemGroup>
</Project>
10 changes: 5 additions & 5 deletions Source/GnssTracker_Demo/Controllers/DisplayController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ public DisplayController(IGraphicsDisplay display)
var box = new Box(0, 0, DisplayScreen.Width, DisplayScreen.Height)
{
ForeColor = Color.White,
Filled = true
IsFilled = true
};
var frame = new Box(5, 5, 240, 112)
{
ForeColor = Color.Black,
Filled = false
IsFilled = false
};
TemperatureLabel = new Label(10, 10, DisplayScreen.Width - 20, LargeFont.Height)
{
Expand Down Expand Up @@ -118,13 +118,13 @@ public DisplayController(IGraphicsDisplay display)

DisplayScreen.Controls.Add(SplashLayout, DataLayout);

DataLayout.Visible = false;
DataLayout.IsVisible = false;
}

public void UpdateDisplay((Temperature? Temperature, RelativeHumidity? Humidity, Pressure? Pressure, Resistance? GasResistance) conditions, GnssPositionInfo locationInfo)
{
SplashLayout.Visible = false;
DataLayout.Visible = true;
SplashLayout.IsVisible = false;
DataLayout.IsVisible = true;

TemperatureLabel.Text = $"Temp: {conditions.Temperature?.Celsius:n1}°C";
HumidityLabel.Text = $"Humidity: {conditions.Humidity?.Percent:n1}%";
Expand Down
2 changes: 1 addition & 1 deletion Source/GnssTracker_Demo/GnssTracker_Demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Meadow.Foundation.Graphics.MicroLayout" Version="1.6.0" />
<PackageReference Include="Meadow.Foundation.Graphics.MicroLayout" Version="1.7.0" />
<ProjectReference Include="..\GnssTracker\GnssTracker.csproj" />
</ItemGroup>
</Project>

0 comments on commit 0529fde

Please sign in to comment.