Skip to content
This repository was archived by the owner on Mar 12, 2024. It is now read-only.

[MeadowMenu] Hackster project tutorial out-of-date #5

@patridge

Description

@patridge

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.)

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 for speed (instead of speedKHz).

  • 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 to MicroGraphics.

  • [Unrelated] Code formatting on Step 5 doesn't have C# syntax highlighting (possibly using the wrong language).

    Screenshot of Hackster article showing C# code syntax highlighting mismatch with all the code either white or red text.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions