Go Down

Topic: RS485  (Read 63 times) previous topic - next topic

AntonKos87

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.

igendel

This code uses an old definition that doesn't exist anymore. See here:
http://forum.arduino.cc/index.php?topic=85382.0
My Adventures in the Making:
http://www.idogendel.com/en

AntonKos87

I do not understand how to solve this problem ???

PaulS

Quote
I do not understand how to solve this problem
Perhaps you should read the responses in ALL of the places you posted this EXACT same question.

AWOL

Thread locked in the presence of cross-posting and absence of a working thread merging mechanism

DO NOT CROSS-POST, IT WASTES TIME
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up