My useful library.
Diff: RS485_usrlib.h
- Revision:
- 1:1cd6941022b3
- Parent:
- 0:bc8a5f269990
diff -r bc8a5f269990 -r 1cd6941022b3 RS485_usrlib.h --- a/RS485_usrlib.h Sun Feb 26 09:53:19 2017 +0000 +++ b/RS485_usrlib.h Sun Feb 26 09:56:08 2017 +0000 @@ -1,6 +1,5 @@ -#ifndef __RS485_usrlib_H__ -#define __RS485_usrlib_H__ +#pragma once #include "mbed.h" #include "Serial.h" @@ -15,5 +14,4 @@ RS485(PinName,PinName,PinName); void Transmit_data(int,int *); int getc(); -}; -#endif \ No newline at end of file +}; \ No newline at end of file