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

Conflicting Information #16

Open
tcurdt opened this issue Dec 7, 2017 · 1 comment
Open

Conflicting Information #16

tcurdt opened this issue Dec 7, 2017 · 1 comment

Comments

@tcurdt
Copy link

tcurdt commented Dec 7, 2017

When I look here

https://github.com/lancaster-university/microbit-dal/tree/v2.0.0-rc10

the following API is used

#include "MicroBitDisplay.h"

MicroBitDisplay display;

int main()
{
    display.scroll("Hello world!");
}

The samples here suggest

#include "MicroBit.h"

MicroBit uBit;

int main()
{
    uBit.init();
    uBit.display.scroll("HELLO WORLD! :)");
    release_fiber();
}

and now I am a little confused what it should be like.

@sudoBash418
Copy link

I realize this is over 3 years old, but in case anyone else is here asking the same question, this page from the documentation explains the difference and why someone would want to use one over the other:
https://lancaster-university.github.io/microbit-docs/advanced/

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

No branches or pull requests

2 participants