[Microbit-Python] Starting up with the Microbit

Nicholas H.Tollervey ntoll at ntoll.org
Tue Dec 29 08:12:07 EST 2015


Hi Marc-Andre,

To flash Python scripts onto the device try uflash
(http://uflash.readthedocs.org/en/latest/) from the command line.

To connect to the REPL, try this:

picocom /dev/ttyACM0 -b 115200

...or microrepl:

https://github.com/ntoll/microrepl

There will be a native editor available soon that should "just work"
(tm) - once it'd finished (that's my "Christmas holiday fun project" for
this year...).

Documentation for the microbit API is here:

http://microbit-micropython.readthedocs.org/en/latest/

;-)

N.

On 29/12/15 12:22, M.-A. Lemburg wrote:
> Hello everyone,
> 
> I received a microbit from Angus just before Christmas and
> would like to start playing with it this week:
> 
> http://microworldtour.github.io/microbit/monifa.html
> 
> Unfortunately, I'm a bit lost how to start, since the information
> about basic things like how to connect and power up the device
> seems to be well hidden somewhere on the net ;-)
> 
> The board has pins saying "3V" and "GND" and there's
> a battery connector on it as well (but without indication
> of which pin is + and which is ground (*)). Would it be enough to
> connect a power supply to the pins or do I need to
> find a plug for the battery connector ?
> 
> Also: I've seen a serial console being used to drive the
> REPL, but there don't appear to be serial con pins on the
> device. Is the USB port used for this ? The README seems to
> imply this ("Upon reset you will have a REPL on the USB CDC
> serial port").
> 
> Lastly: For flashing the device, is it possible to mount
> the flash drive using the USB port or do I need to send the
> image over the serial port ?
> 
> Lots of question and I assume that most of these are FAQs :-)
> 
> I will probably drive to an electronics shop to get some
> cables and perhaps a battery pack today.
> 
> (*) It may be useful to add some text to the board to
> help kids and teachers with this.
> 
> Thanks,
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/microbit/attachments/20151229/4dd1fef9/attachment.sig>


More information about the Microbit mailing list