Skip to content

Conversation

JohnAZoidberg
Copy link
Member

@JohnAZoidberg JohnAZoidberg commented Sep 19, 2023

Simple module to get started with this firmware repo. Don't need Framework hardware.

TODO

  • Better readme
  • Fix up USB VID/PID
  • Test

Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg
Copy link
Member Author

@OctopusET please try it :)

Some function prototypes were missing the `dev` parameter,
and some of the `send_command` function calls were also missing the `dev` parameter.

Releated PR: #56
@OctopusET
Copy link
Contributor

I had to fix some of code for testing.
Here's my fork
https://github.com/OctopusET/inputmodule-rs/tree/qtpy-rp2040

I have tested the examples in the README and they all work well on my QT Py RP2040.
Is there anything else I should test?

> ./ledmatrix_control.py --brightness 255
> ./ledmatrix_control.py --get-brightness
Current brightness: 255

> ./ledmatrix_control.py --set-color yellow
> ./ledmatrix_control.py --get-color
Current color: RGB:(255, 255, 0)

Fixes for the qtpy-rp2040 branch
And change PID to 0x001F

Signed-off-by: Daniel Schaefer <dhs@frame.work>
Signed-off-by: Daniel Schaefer <dhs@frame.work>
@JohnAZoidberg JohnAZoidberg marked this pull request as ready for review October 9, 2023 18:53
@JohnAZoidberg JohnAZoidberg merged commit cec890c into main Oct 24, 2023
@JohnAZoidberg JohnAZoidberg deleted the qtpy-rp2040 branch October 24, 2023 00:41
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

Successfully merging this pull request may close these issues.

2 participants