Arduino: 1.5.8 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Build options changed, rebuilding all
SLAVE_RS485.ino: In function 'void sendMSG(byte, byte, byte, byte, byte, byte, byte, byte, byte, byte)':
SLAVE_RS485.ino:153:26: error: 'BYTE' was not declared in this scope
SLAVE_RS485.ino: In function 'void sendACK(byte, byte, byte, byte, byte, byte, byte, byte, byte, byte)':
SLAVE_RS485.ino:185:26: error: 'BYTE' was not declared in this scope
SLAVE_RS485.ino: In function 'void sendNAK(byte, byte, byte, byte, byte, byte, byte, byte, byte, byte)':
SLAVE_RS485.ino:214:26: error: 'BYTE' was not declared in this scope
Ошибка компиляции.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
RS485.zip (3.26 KB)