Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Serial Communication to a Cmucam3 (http://www.chiefdelphi.com/forums/showthread.php?t=58627)

Lawrey 03-09-2007 21:38

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++];
serial_putchar(y);
}
}

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


All times are GMT -5. The time now is 00:24.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi