-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
[Bug] PrimeHub/InventorHub: hub.display.image(...) argument mismatch b/w firmware & documented API #409
Comments
Off topic: Can we save the @ mentions for when you really need to get our attention (like if it has been 3 or 4 weeks and we haven't responded - or you have a specific question for a specific person)? Each time we are @ mentioned, it creates an extra notification. |
Ok noted David! 👍 |
Thanks 😄 |
Since the Prime Hub isn't part of a release yet, we still have some flexibility to reconsider the API. We've currently grouped the "images" under hub.display.image(Icon.HAPPY) I called them icons because at 5x5 pixels it's a bit of a stretch to call them images. So another option that could make sense is hub.display.icon(Icon.HAPPY) |
Laurens, Yes I think "Icon" / "icon" sounds great. It's better to settle on one way to call these -- especially for young users -- instead of having "icon" + "image" + "matrix" :) Vinh |
hub.display.icon(Icon.HAPPY) This is done. Thanks @TheVinhLuong102! |
Hi @laurensvalk, @dlech,
For the PrimeHub/InventorHub, the method
.display.image(...)
's argument name in the documented API ismatrix=...
, but the underlying firmware acceptsimage=...
instead.Vinh
The text was updated successfully, but these errors were encountered: