Closed TheVinhLuong102 closed 2 years ago
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 :smile:
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 pybricks.parameters.Icon
, so it's currently like this:
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
So another option that could make sense is
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