Taiki Maruyama / Mbed 2 deprecated MB2019_main_11_12

Dependencies:   mbed

Communication/RS485/RS485.h

Committer:
kishibekairohan
Date:
2019-11-12
Revision:
47:a9cad8502999
Parent:
21:e3b58d675c1c

File content as of revision 47:a9cad8502999:

#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