with the tof code
Dependencies: mbed Servo ros_lib_kinetic
Diff: main.h
- Revision:
- 9:326b8f261ef0
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.h Sat Jan 04 21:35:25 2020 +0000 @@ -0,0 +1,17 @@ +/* main.h */ +#ifndef _MAIN_H_ +#define _MAIN_H_ + +/* Includes ------------------------------------------------------------------*/ +#include "mbed.h" + +/* Defines -------------------------------------------------------------------*/ +#define PcBaud 9600 + +static Serial pc(SERIAL_TX, SERIAL_RX, PcBaud); //set-up serial to pc + + + +#endif /* _MAIN_H_ */ + + \ No newline at end of file