In file included from C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\cores\nuvoton/Arduino.h:26:0,
from sketch\send.ino.cpp:1:
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\system/NUC131/Device/Nuvoton/NUC131/Include/NUC131.h:11065:29: error: expected identifier before '(' token
#define CAN ((CAN_T *) CAN0_BASE)
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\libraries\CAN_BUS/can_.h:13:7: note: in expansion of macro 'CAN'
class CAN
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\system/NUC131/Device/Nuvoton/NUC131/Include/NUC131.h:11065:37: error: expected ')' before '*' token
#define CAN ((CAN_T *) CAN0_BASE)
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\libraries\CAN_BUS/can_.h:13:7: note: in expansion of macro 'CAN'
class CAN
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\system/NUC131/Device/Nuvoton/NUC131/Include/NUC131.h:11065:37: error: expected ')' before '*' token
#define CAN ((CAN_T *) CAN0_BASE)
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\libraries\CAN_BUS/can_.h:13:7: note: in expansion of macro 'CAN'
class CAN
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\system/NUC131/Device/Nuvoton/NUC131/Include/NUC131.h:11065:37: error: expected ')' before '*' token
#define CAN ((CAN_T *) CAN0_BASE)
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\libraries\CAN_BUS\examples\send\send.ino:5:1: note: in expansion of macro 'CAN'
CAN CAN_0;
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\system/NUC131/Device/Nuvoton/NUC131/Include/NUC131.h:11065:37: error: expected ')' before '*' token
#define CAN ((CAN_T *) CAN0_BASE)
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\libraries\CAN_BUS\examples\send\send.ino:5:1: note: in expansion of macro 'CAN'
CAN CAN_0;
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\libraries\CAN_BUS\examples\send\send.ino: In function 'void setup()':
send:13: error: 'CAN_0' was not declared in this scope
if(CAN_OK == CAN_0.begin(CAN_500KBPS)) // init can bus : baudrate = 500k
^
C:\Users\Administrator\AppData\Local\Arduino15\packages\nuvoton\hardware\nuvoton\1.6.10\libraries\CAN_BUS\examples\send\send.ino: In function 'void loop()':
send:30: error: 'CAN_0' was not declared in this scope
CAN_0.sendMsgBuf(0x00, 0, 8, stmp);
^
exit status 1
'CAN_0' was not declared in this scope
Using proxy DIRECT
Using proxy DIRECT
Using proxy DIRECT
Using proxy DIRECT
Using proxy DIRECT