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

Detect DVT1 vs DVT2 ledmatrix by checking led layout #77

Open
JohnAZoidberg opened this issue Sep 18, 2023 · 2 comments
Open

Detect DVT1 vs DVT2 ledmatrix by checking led layout #77

JohnAZoidberg opened this issue Sep 18, 2023 · 2 comments

Comments

@JohnAZoidberg
Copy link
Member

LED controller has short circuit detection which we should be able to use.
Then we can combine into a single firmware.

@JohnAZoidberg JohnAZoidberg changed the title Detect DVT1 vs DVT2 ledmatrix to check Detect DVT1 vs DVT2 ledmatrix by checking led layout Sep 18, 2023
@JohnAZoidberg
Copy link
Member Author

@JohnAZoidberg
Copy link
Member Author

JohnAZoidberg commented Sep 19, 2023

WIP at: https://github.com/FrameworkComputer/inputmodule-rs/tree/open-short

On the old module I expect it to output:

Open 0x03: 00, Open 0x07: 7C, Open 0x08: 00, Open 0x0C: 7C, Open 0x2B:  00, Open 0x2F:  7C
Short0x03: 00, Short0x07: 00, Short0x08: 00, Short0x0C: 00, Short0x2B:  00, Short0x2F:  00

On my intentionally broken module (x:0,y:0 no led - x:1,y:0 short) I expect:

Open 0x03: 01, Open 0x07: 7C, Open 0x08: 00, Open 0x0C: 7C, Open 0x2B:  00, Open 0x2F:  7C
Short0x03: 00, Short0x07: 02, Short0x08: 00, Short0x0C: 00, Short0x2B:  00, Short0x2F:  00

On the early matrix these are connected and the reset are open, no shorts:
image
Therefore the lowest two bits (CS33, CS34) on 0x07 and 0x0C should be 0, as well as the highest (reserved).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant