Core51822 module helloworld. BLE disable version.

Dependencies:   microbit_ble_disable

Fork of microbit-samples by BBC

Core51822モジュールでmicro:bitのDAL(Device Abstraction Layer)を使います。

注意

BLE(Bluetooth Low Energy)は無効にしています。

Files at this revision

API Documentation at this revision

Comitter:
va009039
Date:
Sun May 08 09:57:04 2016 +0000
Parent:
7:6b26df2a055a
Commit message:
use BLE disabled microbit library.

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
microbit.lib Show diff for this revision Revisions of this file
microbit_ble_disable.lib Show annotated file Show diff for this revision Revisions of this file
source/MicroBitSamples.h Show annotated file Show diff for this revision Revisions of this file
diff -r 6b26df2a055a -r 781a3570993b main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun May 08 09:57:04 2016 +0000
@@ -0,0 +1,10 @@
+#include "MicroBit.h"
+
+MicroBit microbit;
+
+int main() {
+    microbit.init();
+    for(;;) {
+        microbit.display.scroll("Hello,world!");
+    }
+}
diff -r 6b26df2a055a -r 781a3570993b microbit.lib
--- a/microbit.lib	Fri Apr 08 18:04:40 2016 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://developer.mbed.org/teams/Lancaster-University/code/microbit/#9cbea9993ef1
diff -r 6b26df2a055a -r 781a3570993b microbit_ble_disable.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/microbit_ble_disable.lib	Sun May 08 09:57:04 2016 +0000
@@ -0,0 +1,1 @@
+https://developer.mbed.org/users/va009039/code/microbit_ble_disable/#64868768d90a
diff -r 6b26df2a055a -r 781a3570993b source/MicroBitSamples.h
--- a/source/MicroBitSamples.h	Fri Apr 08 18:04:40 2016 +0000
+++ b/source/MicroBitSamples.h	Sun May 08 09:57:04 2016 +0000
@@ -38,7 +38,7 @@
 // Introductory examples using the uBit object.
 //
 
-#define     MICROBIT_SAMPLE_HELLO_WORLD
+//#define     MICROBIT_SAMPLE_HELLO_WORLD
 //#define     MICROBIT_SAMPLE_ACCELEROMETER_DEMO
 //#define     MICROBIT_SAMPLE_BUTTON_EVENTS
 //#define     MICROBIT_SAMPLE_SIMPLE_ANIMATION