microsoft / TouchDevelop

TouchDevelop is a touch-friendly app creation environment for iPad, iPhone, Android, Windows, Mac, Linux. Our mobile-friendly editor makes coding fun, even on your phone or tablet!
Other
1.36k stars 185 forks source link

Unclear if/how to attach Serial UART to hardware pins (non-USB, non-Bluetooth UART) #479

Closed cefn closed 8 years ago

cefn commented 8 years ago

There is guidance at http://microbit-micropython.readthedocs.io/en/latest/uart.html indicating that the python library can access UART capabilities through the DAL which apply to hardware pins (note the tx and rx constructor arguments).

Am I right in thinking that the only UART exposed through Touchdevelop is the in-build UART-over-USB capability, and that accessing the Bluetooth UART service and use of a Hardware UART (through IO pins) is currently impossible?

If so, is there a chance that hardware or bluetooth UART will be exposed eventually through the serial library?

Cefn http://shrimping.it

pelikhan commented 8 years ago

At this point, we are not planning any changes to the "built-in" libraries of the micro:bit. It leaves you with multiple options to implement your needs:

cefn commented 8 years ago

Looks like pxt.io version already has support - using "serial redirect to". Thanks