Miya Miyagawa / Mbed 2 deprecated Main_2019_B_Auto_TAMAYA

Dependencies:   mbed TrapezoidControl Pulse QEI

Committer:
Ryosei
Date:
Fri Mar 27 14:03:12 2020 +0000
Revision:
30:76b140d176f0
Parent:
21:e3b58d675c1c
h

Who changed what in which revision?

UserRevisionLine numberNew contents of line
t_yamamoto 0:669ef71cba68 1 #ifndef RS485_H_
t_yamamoto 0:669ef71cba68 2 #define RS485_H_
t_yamamoto 0:669ef71cba68 3
t_yamamoto 0:669ef71cba68 4 namespace RS485 {
M_souta 20:eae8c84f318c 5 #define SELECTBIT_T_PIN PB_3
M_souta 21:e3b58d675c1c 6 // #define SELECTBIT_R_PIN PA_5 未接続
t_yamamoto 0:669ef71cba68 7
t_yamamoto 0:669ef71cba68 8 #define RS485UART_TX PA_9
t_yamamoto 0:669ef71cba68 9 #define RS485UART_RX PA_10
M_souta 20:eae8c84f318c 10 #define RS485LINE_TX PC_10
M_souta 20:eae8c84f318c 11 #define RS485LINE_RX PC_11
t_yamamoto 0:669ef71cba68 12
t_yamamoto 0:669ef71cba68 13 class RS485 {
t_yamamoto 0:669ef71cba68 14 public:
t_yamamoto 0:669ef71cba68 15 static void Initialize();
t_yamamoto 0:669ef71cba68 16 };
t_yamamoto 0:669ef71cba68 17 }
t_yamamoto 0:669ef71cba68 18
t_yamamoto 0:669ef71cba68 19 #endif