[Microbit-Python] Failed attempt at Whack-A-Mole

Damien George damien.p.george at gmail.com
Fri Oct 9 01:02:27 CEST 2015


Larry, the latest version of the firmware now uses less RAM and your
whack-a-mole script compiles and runs.  Hopefully there is enough RAM
to extend that script a bit more to get it to a playable state (at the
moment I don't think it works because I can't whack anything!).

Attached is the firmware.hex image with the changes.

Changes to the API:
system_time -> running_time
set_pixel_value -> set_pixel
get_pixel_value -> get_pixel

Let me know if you run out of RAM again... :)

Cheers,
Damien.


On Tue, Oct 6, 2015 at 2:07 PM, Damien George <damien.p.george at gmail.com> wrote:
>> I was thinking of accelerometer tilt driven mazes, a bit like a 5x5 window
>> on one of those rolling ball bearing maze games.
>
> Already written!  See examples/maze.py:
> https://github.com/dpgeorge/microbit-micropython/blob/master/examples/maze.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firmware.hex
Type: application/octet-stream
Size: 444112 bytes
Desc: not available
URL: <https://mail.python.org/mailman/private/microbit/attachments/20151009/62ff8b44/attachment-0001.obj>


More information about the Microbit mailing list