sp.cpp:90:40: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
sendData("/dev/ttyUSB0", a,8,IMAGE);
char a[]={0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0xFE};
if(text=="person")
{
a[1]=1;
a[2]=((boxes[i].x2-boxes[i].x1)/2+boxes[i].x1)/3;
a[3]=((boxes[i].y2-boxes[i].y1)/2+boxes[i].y1)/3;
}
openPort("/dev/ttyUSB0");//1
configurePort(openPort("/dev/ttyUSB0"));
sendData("/dev/ttyUSB0", a,8,IMAGE);