Open lopezsolerluis opened 1 year ago
There is no log
module in the MicroBit version of MicroPython. :disappointed:
Rather, you should go "old school" and just print("some message")
and watch the USB serial connection for the output.
Excuse me, but there is: https://microbit-micropython.readthedocs.io/en/v2-docs/log.html
In fact, you can import log
using micro:bit Python Editor
Am I missing something?
Nope... I'm the one missing something here. :smile:
It appears that they've added a new log
module. @carlosperate do you have any information on this..?
@lopezsolerluis the solution would be to update the firmware. It happens that @carlosperate works for micro:bit (and helps out here too). So let's see what he says, and hopefully we can patch it.
@ntoll Thank you very much!!! :)
Hi! :)
My problem is that when I upload the firmware with
uflash
, and try to import thelog
module, I get this error:However, some modules load with no problem, like
import radio
orimport neopixel
.Am I doing something wrong? Thank you very much in advance!