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.
Diff: main.cpp
- Revision:
- 0:c1798dc6ef6f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Jun 24 12:08:49 2015 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + +Serial bluetooth(p13,p14); //setup the serial pins for the bluetooth connection + +int main() { + while(1) { + myled = 1; + wait(2); + myled = 0; + bluetooth.printf("EZ-Test \r\n", ); // transmit the data you want to, don't worry about the baud rate etc. the EZ-Link auto sets this + wait(2); + } +}