Meadow.Project.Samples
Meadow.Project.Samples copied to clipboard
[MeadowMenu] Hackster project tutorial out-of-date
This is a bug for the Build an Interactive Menu with TextDisplayMenu Using Meadow (MeadowMenu) Hackster project, not for the actual sample project in this repo.
It looks like the API changed a bit for creating the display and graphics objects. (This might affect other Hackster articles.)
- Repo link at the bottom Code section is a 404.
- Current 404: https://github.com/WildernessLabs/Meadow.Project.Samples/tree/main/source/Hackster/MeadowMenu
- New URL (capitalize
Source
): https://github.com/WildernessLabs/Meadow.Project.Samples/tree/main/Source/Hackster/MeadowMenu
It looks like the sample project has been updated, but the Step 5 - Write the code for MeadowMenu section has several updates needed, both in the main code block and also in explanation text.
-
SpiClockConfiguration
now takes a unit-based value forspeed
(instead ofspeedKHz
). -
Device.CreateSpiBus
parameters need updating to new "Controller Input/Output Peripheral Input/Output" API, replacing any MOSI/MISO with COPI/CIPO. -
GraphicsLibrary
needs to update toMicroGraphics
. -
[Unrelated] Code formatting on Step 5 doesn't have C# syntax highlighting (possibly using the wrong language).