Go to Post You wrote a PID control loop for your coach? Whoa. - meatmanek [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-09-2007, 21:38
Lawrey Lawrey is offline
Registered User
no team
 
Join Date: Aug 2007
Location: Singapore
Posts: 3
Lawrey is an unknown quantity at this point
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?
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RS232 (Serial) Communication To OI bglass Programming 9 07-07-2007 04:04
Need Help With Maplab C programming on serial communication loveheb3 Programming 0 04-06-2007 21:24
Serial Communication in C++ Adam Shapiro Programming 8 21-01-2003 12:49
Serial Port Communication White Paper rbayer Programming 87 14-06-2002 16:10
serial communication using c++ Malakili Programming 31 01-05-2002 15:51


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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