FM-test
Dependencies: MODSERIAL mbed-rtos mbed
Fork of Master by
bluetooth.h
- Committer:
- 9uS7
- Date:
- 2014-09-11
- Revision:
- 2:c610e1a7fbcd
- Parent:
- 1:e1cfb5850088
- Child:
- 3:12e1f116ea42
File content as of revision 2:c610e1a7fbcd:
#ifndef _INC_MY_BLUETOOTH #define _INC_MY_BLUETOOTH #include "mbed.h" #define BT_MASTER 0 #define BT_SLAVE -1 typedef union _cvt{ char byte[8]; int in[2]; float fl[2]; } Cvt; void btSetup(int); //setup(role) role:BT_MASTER or BT_SLAVE //void btLoop(int); //btLoop(role) role:BT_MASTER or BT_SLAVE #endif