Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mbed sync #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

jaustin
Copy link
Collaborator

@jaustin jaustin commented Jul 14, 2016

This commit allows syncing with developer.mbed.org, and adds the microbit .lib file into the source directory

jaustin added 3 commits July 13, 2016 10:26
You must build this program with BLE disabled, using config.json or
MicroBitConfig.h

If you flash this onto two micro:bits, when in range they will both
display full hearts. When out of range they will show empty hearts.

Buttons:
A: make heart full
B: beat heart (make a small heart, then revert to large0
A+B: stop broadcasting (break up with the other micro:bit!)

There's a 'group_name' variable that lets you choose which micro:bits
will respond to each other on proximity. At the moment, it is left
as an exercise for the user to make the buttons also only work per
group!
This little chunk of pre-processor logic could/should migrate into
microbit-dal in the long run.
This commit makes microbit-samples more compatibile with the online
IDE at developer.mbed.org by
* Adding a .lib file that points to the required microbit library
* Adding a script to copy the examples from the single GitHub repository
  to the individual per-sample hg repositories on developer.mbed.org

It also modifies .gitignore so that the .hg directories created by
the synchronisation process don't get in the way
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant