aa

Dependencies:   mbed

Communication/RS485/RS485.h

Committer:
M_souta
Date:
2019-08-27
Revision:
20:eae8c84f318c
Parent:
0:669ef71cba68
Child:
21:e3b58d675c1c

File content as of revision 20:eae8c84f318c:

#ifndef RS485_H_
#define RS485_H_

namespace RS485 {
    #define SELECTBIT_T_PIN PB_3
    #define SELECTBIT_R_PIN PA_5

    #define RS485UART_TX PA_9
    #define RS485UART_RX PA_10
    #define RS485LINE_TX PC_10
    #define RS485LINE_RX PC_11
    
    class RS485 {
        public:
        static void Initialize();
    };
}

#endif