Reply by Alexandre Kremer December 13, 20062006-12-13
brdInit() is a function that configures the rabbits
IOs to work with the prototype board (RCM Development
Kits) as they built the board to do specific examples.
If you are not using any kit (you have your own
developed board), I suggest you to create your own
function that initializes the ports functionalities as
you may need them. Its easy and dont require much
efforts.

Best regards

--- stujo escreveu:

> I am attempting to build a link between two serial
> radio modules with
> two RCM3600 modules. I have a very simple script
> that works as long as
> I do not have brdInit() in the script. The problem
> is there are other
> codes I want to put in that do require it. IE Port
> A is an output,PB3
> and PB5 are inputs and PD4 and PD5 are I2C. Below is
> the code that
> works (without brdInit).
>
> I have checked the archives, read the manuals,
> inspected brdInit()-
> any help would be great. Thanks
====================================================> costate{
> count1 += 1; // counter
> serDwrFlush();
> wfd cof_serDputs(send);
> printf(" SEND %s ---",send);
> serDrdFlush();
> wfd getOk = cof_serDgets (receive, 3, 20);
> if (getOk){
> printf("%s -- %d\r\n\r\n",receive,count1);
> }
> else {
> printf("oops\r\n");
> }
> }

_______________________________________________________
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!
http://br.mobile.yahoo.com/mailalertas/
Reply by stujo December 13, 20062006-12-13
I am attempting to build a link between two serial radio modules with
two RCM3600 modules. I have a very simple script that works as long as
I do not have brdInit() in the script. The problem is there are other
codes I want to put in that do require it. IE Port A is an output,PB3
and PB5 are inputs and PD4 and PD5 are I2C. Below is the code that
works (without brdInit).

I have checked the archives, read the manuals, inspected brdInit()-
any help would be great. Thanks

====================================================costate{
count1 += 1; // counter
serDwrFlush();
wfd cof_serDputs(send);
printf(" SEND %s ---",send);
serDrdFlush();
wfd getOk = cof_serDgets (receive, 3, 20);
if (getOk){
printf("%s -- %d\r\n\r\n",receive,count1);
}
else {
printf("oops\r\n");
}
}