Comparacion de cadenas Chibios y demas cosas de chibios muy sensillas realmente…

char comp_1[5];
char comp_2[5];
comp_1[0]=’G’;
comp_1[1]=’P’;
comp_1[2]=’G’;
comp_1[3]=’G’;
comp_1[4]=’A’;
*comp_2=*comp_1;
if(*comp_1==*comp_2){

 

static const SerialConfig sd2_config = {
  4800,
  LCR_WL8 | LCR_STOP1 | LCR_NOPARITY,
  FCR_TRIGGER0
};

sdStart(&SD1,&sd1_config);

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s