bbcmicrobit / micropython

Port of MicroPython for the BBC micro:bit
https://microbit-micropython.readthedocs.io
Other
602 stars 284 forks source link

There isn't a SCISSORS image #798

Closed rhubarbdog closed 8 months ago

rhubarbdog commented 9 months ago

display.show(Image.SCISSORS) causes error AttributeError: type object 'MicroBitImage' has no attribute 'SCISSORS'

readthedocs lists scissors as a built in image

dpgeorge commented 8 months ago

The SCISSORS image was added quite a while ago in commit 5005880aa3acd5e1fde9b09b9de85932e65353f1, and it works for me on a micro:bit v1 with firmware v1.1.1. And also a micro:bit v2 with firmware v2.1.1.

rhubarbdog commented 8 months ago

ah ha, my uflash is only using 2.0.0 beta .5 let me try updating it

rhubarbdog commented 8 months ago

uflash claims it's up to date. is there a microbit.hex that is at 2.1.1 or do i need to compile one

dpgeorge commented 8 months ago

If you use the online Python editor then it should be able to update your micro:bit to the latest firmware: https://python.microbit.org/v/3

rhubarbdog commented 8 months ago

the editor gives me version 2.1.2 which contains scissors