lancaster-university / microbit-samples

http://lancaster-university.github.io/microbit-docs
Other
114 stars 72 forks source link

Add swift-playgrounds sample file #33

Open jaustin opened 3 years ago

jaustin commented 3 years ago

The Swift Playgrounds Book for micro:bit operates in Bluetooth tethered mode. This example is used for the C++ build of the hex file for using Swift Playgrounds with the device.

It's necessary for the DFU service to exist, because the Swift Playgrounds Book uses this to determine that it can/should pair with the micro:bit

Tested with with Swift 4.1 version of the playground book. V1.2.0

jaustin commented 3 years ago

@microbit-sam could you please take a quick look at this? Anything you want to change?

microbit-sam commented 3 years ago

LGTM 👍