Serial Communication to a Cmucam3

hi i encounter some problems :

im using a hitachi H8 microcontroller and the following is my program codes :

void serial_wait(int c){
int d=0;
while(d != c){
d = serial_getchar(0);

void serial_string(char c])
int x,y=0;
while(y != 0x0d){ // while y ! \r
y = c[x++];

may i know does that send any command to my H8 board?