Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new display device - Pimoroni Four letter phat display #2118

Merged
merged 10 commits into from Aug 11, 2023

Conversation

t1mr0dg3r5
Copy link
Contributor

@t1mr0dg3r5 t1mr0dg3r5 commented Aug 6, 2023

Code based on the existing 7 segment display utilising the HT16K33 chipset.
https://shop.pimoroni.com/products/four-letter-phat?variant=39256047178

Microsoft Reviewers: Open in CodeFlow

@ghost ghost added the area-device-bindings Device Bindings for audio, sensor, motor, and display hardware that can used with System.Device.Gpio label Aug 6, 2023
@t1mr0dg3r5
Copy link
Contributor Author

@dotnet-policy-service agree

@t1mr0dg3r5
Copy link
Contributor Author

t1mr0dg3r5 commented Aug 6, 2023 via email

Copy link
Contributor

@pgrawehr pgrawehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that's a great start and a great addition. I have added some first comments and suggestions.

src/devices/Display/Font14.cs Outdated Show resolved Hide resolved
src/devices/Display/FontHelper14.cs Outdated Show resolved Hide resolved
src/devices/Display/Large4Digit14SegmentDisplay.cs Outdated Show resolved Hide resolved
src/devices/Display/Large4Digit14SegmentDisplay.cs Outdated Show resolved Hide resolved
src/devices/Display/FontHelper14.cs Outdated Show resolved Hide resolved
src/devices/Display/IFourteenSegmentDisplay.cs Outdated Show resolved Hide resolved
@pgrawehr
Copy link
Contributor

pgrawehr commented Aug 6, 2023

/azp run dotnet.iot

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Fixed issues with Markdown on windows build
- Letter B Fixed
- Console output removed
- Changed accessibility for unnecessary public write method
- Added '.' do degrees display in sample
- removed no longer require IFourteenSegmentDisplay interface
- intenalised FontHelper.cs (added WriteHex and WriteChar to display.
TO-DO:
- Fix more chars in Font14.cs
- Fix broken WirteChar
Copy link
Member

@Ellerbach Ellerbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks really good all up. Great reuse of the existing elements and patterns.

src/devices/Display/README.md Outdated Show resolved Hide resolved
src/devices/Display/Large4Digit14SegmentDisplay.cs Outdated Show resolved Hide resolved
@t1mr0dg3r5
Copy link
Contributor Author

Thanks for all your comments so far. V helpful.

@pgrawehr
Copy link
Contributor

pgrawehr commented Aug 9, 2023

/azp run dotnet.iot

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Fix broken link
MD markup creates too large an image. Reverted to html...
Copy link
Member

@Ellerbach Ellerbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good!

@joperezr
Copy link
Member

/azp run dotnet.iot

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Ellerbach
Copy link
Member

Merging ad all approved and all green! Thanks again for the contribution @t1mr0dg3r5

@Ellerbach Ellerbach merged commit c64c380 into dotnet:main Aug 11, 2023
9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-device-bindings Device Bindings for audio, sensor, motor, and display hardware that can used with System.Device.Gpio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants