demo code for mbed iterface

Dependencies:   RPCInterface mbed

Fork of RPC_RangeFinderDemo by Michael Walker

Committer:
kennyainny
Date:
Fri Nov 04 16:46:48 2016 +0000
Revision:
3:5d573864f5a2
Parent:
2:5cd9ce9152a7
commit;

Who changed what in which revision?

UserRevisionLine numberNew 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
kennyainny 3:5d573864f5a2 17
MichaelW 0:5e8f67a3fc53 18 }
MichaelW 0:5e8f67a3fc53 19 }