Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BME280 TextLCD nRF51_Vdd
Fork of TYBLE16_mbedlized_os5_BASE by
Diff: main.cpp
- Revision:
- 1:9011c83e4178
- Parent:
- 0:6eea047171a3
- Child:
- 2:47ad8c48224e
--- a/main.cpp Tue Apr 10 12:43:29 2018 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,45 +0,0 @@
-/*
- * Mbed Application program / Blinky
- *
- * Copyright (c) 2018 Kenji Arai / JH1PJL
- * http://www.page.sannet.ne.jp/kenjia/index.html
- * http://mbed.org/users/kenjiArai/
- * Created: April 10th, 2018
- * Revised: April 10th, 2018
- */
-
-// Include --------------------------------------------------------------------
-#include "mbed.h"
-#include "TYBLE16_BASE.h"
-
-// Definition -----------------------------------------------------------------
-
-// Constructor ----------------------------------------------------------------
-DigitalOut my_led(LED1);
-Serial pc(USBTX, USBRX);
-
-// RAM ------------------------------------------------------------------------
-
-// ROM / Constant data --------------------------------------------------------
-char *const opngmsg =
- "\x1b[2J\x1b[H"__FILE__ "\r\n"__DATE__ " " __TIME__ " (UTC)\r\n""\r\n";
-
-// Function prototypes --------------------------------------------------------
-
-//------------------------------------------------------------------------------
-// Control Program
-//------------------------------------------------------------------------------
-int main()
-{
- uint32_t count = 0;
-
- pc.puts(opngmsg);
- // Check TYBLE-16 configuration
- cpu_sys();
- compile_condition();
- while(true) {
- my_led = !my_led;
- pc.printf("%8u\r\n", count++);
- Thread::wait(1000);
- }
-}
