[Microbit-Python] Using micro-python to send simple radio commands?
Nevil Hunt
nevil.hunt at hotmail.co.uk
Thu Jul 7 05:48:21 EDT 2016
Thanks Carlos,
I hoped it might be in the pipe-line.
I look forward to giving it a go!
Nevil
From: carlos.p.a.87 at gmail.com
Date: Thu, 7 Jul 2016 09:37:20 +0000
To: microbit at python.org
Subject: Re: [Microbit-Python] Using micro-python to send simple radio commands?
You can have a look at https://github.com/bbcmicrobit/micropython/pull/283 and the linked PR for the documentation. So, while still working some things out, this feature is definitely in the oven :)
On Thu, 7 Jul 2016, 11:21 Nevil Hunt, <nevil.hunt at hotmail.co.uk> wrote:
Hi,
Whilst I understand that currently Bluetooth can't be used with micro-python due to memory constraints, can micro-python be used to send simple radio commands between a pair of micro:bits?
The underlying mbed 'C' programming supports this using
uBit.radio.enable
uBit.radio.datagram.send
&
uBit.radio.datagram.recv
but to do so in 'C' it is necessary to disable the Bluetooth stack so maybe simple radio commands could be supported from micro-python without running into the memory constraints of using the Bluetooth stack. It would certainly be quite neat if it could be supported!
Cheers,
Nevil
_______________________________________________
Microbit mailing list
Microbit at python.org
https://mail.python.org/mailman/listinfo/microbit
_______________________________________________
Microbit mailing list
Microbit at python.org
https://mail.python.org/mailman/listinfo/microbit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/microbit/attachments/20160707/2a4171bf/attachment.html>
More information about the Microbit
mailing list