Code to control HC05 bluetooth bot
Dependencies: mbed 4DGL-uLCD-SE Motor RPCInterface
main.cpp@2:5cd9ce9152a7, 2016-11-04 (annotated)
- Committer:
- kennyainny
- Date:
- Fri Nov 04 16:31:05 2016 +0000
- Revision:
- 2:5cd9ce9152a7
- Parent:
- 1:e5e4988258b9
- Child:
- 3:5d573864f5a2
for publish
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MichaelW | 1:e5e4988258b9 | 1 | /** |
MichaelW | 1:e5e4988258b9 | 2 | * Copyright (c)2010 ARM Ltd. |
MichaelW | 1:e5e4988258b9 | 3 | * Released under the MIT License: http://mbed.org/license/mit |
MichaelW | 1:e5e4988258b9 | 4 | */ |
MichaelW | 0:5e8f67a3fc53 | 5 | #include "mbed.h" |
MichaelW | 0:5e8f67a3fc53 | 6 | #include "SerialRPCInterface.h" |
MichaelW | 0:5e8f67a3fc53 | 7 | |
MichaelW | 0:5e8f67a3fc53 | 8 | using namespace mbed; |
MichaelW | 0:5e8f67a3fc53 | 9 | |
MichaelW | 0:5e8f67a3fc53 | 10 | //Create the interface on the USB Serial Port |
MichaelW | 0:5e8f67a3fc53 | 11 | SerialRPCInterface RPC(USBTX, USBRX); |
MichaelW | 0:5e8f67a3fc53 | 12 | |
MichaelW | 0:5e8f67a3fc53 | 13 | int main() { |
MichaelW | 0:5e8f67a3fc53 | 14 | |
MichaelW | 0:5e8f67a3fc53 | 15 | while(1) { |
kennyainny | 2:5cd9ce9152a7 | 16 | |
MichaelW | 0:5e8f67a3fc53 | 17 | } |
MichaelW | 0:5e8f67a3fc53 | 18 | } |