Код: Выделить всё
C:\Users\Стас\AppData\Local\Temp\flprog\pr18\pr18.ino: In function 'void setup()':
pr18:3: error: 'Serial2' was not declared in this scope
c:\Program Files (x86)\Flprog\ideV1\libraries\RemoteXYV1/modules/serial.h:52:86: note: in expansion of macro 'REMOTEXY_SERIAL'
#define RemoteXY_Init() remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &RemoteXY, &REMOTEXY_SERIAL, REMOTEXY_SERIAL_SPEED)
^
C:\Users\Стас\AppData\Local\Temp\flprog\pr18\pr18.ino:27:1: note: in expansion of macro 'RemoteXY_Init'
pr18:28: error: 'Serial1' was not declared in this scope
C:\Users\Стас\AppData\Local\Temp\flprog\pr18\pr18.ino: In function 'void loop()':
pr18:32: error: 'Serial1' was not declared in this scope
C:\Users\Стас\AppData\Local\Temp\flprog\pr18\pr18.ino: In function 'void sendDataToRing(RingDataStruct)':
pr18:70: error: 'Serial1' was not declared in this scope
exit status 1
'Serial2' was not declared in this scope