Ohnishi_Gundan / Mbed 2 deprecated Master-FM

Dependencies:   MODSERIAL mbed-rtos mbed

Fork of Master by Ohnishi_Gundan

Committer:
9uS7
Date:
Thu Sep 11 10:15:34 2014 +0000
Revision:
0:4f07ba929908
Child:
1:e1cfb5850088
main_program

Who changed what in which revision?

UserRevisionLine numberNew contents of line
9uS7 0:4f07ba929908 1 #include "mbed.h"
9uS7 0:4f07ba929908 2 #include "bluetooth.h"
9uS7 0:4f07ba929908 3
9uS7 0:4f07ba929908 4
9uS7 0:4f07ba929908 5 void btSetupMaster(void) //setup master
9uS7 0:4f07ba929908 6 {
9uS7 0:4f07ba929908 7 btMaster.baud(9600);
9uS7 0:4f07ba929908 8 btMaster.printf("$$$");
9uS7 0:4f07ba929908 9 wait(0.5);
9uS7 0:4f07ba929908 10 btMaster.printf("C\r");
9uS7 0:4f07ba929908 11 wait(0.5);
9uS7 0:4f07ba929908 12 }
9uS7 0:4f07ba929908 13
9uS7 0:4f07ba929908 14 void btSetupSlave(void)
9uS7 0:4f07ba929908 15 {
9uS7 0:4f07ba929908 16 }