Dear all,

i have the problem with checksum generate array data.
This is a sample piece of my program
Code:
unsigned char data1[3];
unsigned char data2[4]={0x7F,0xA0,0x00,0x00};

void send(unsigned char *a, unsigned char b, unsigned char *b){

//I do not know what program should i write 
// in this modular, i want to display result of checksum

}

//main program
...