Project

General

Profile

Revision 294

Got the data response to work, however analog8 reads are failing to get good data.

View differences:

xbee.c
783 783
#ifndef ROBOT
784 784
void xbee_set_com_port(char* port){
785 785
  //printf("Port being passed is %s\n",port);
786
  xbee_com_port = malloc(strlen(port));
786
  xbee_com_port = (char *) malloc(strlen(port));
787 787
  strcpy(xbee_com_port,port); 
788 788
}
789 789
#endif

Also available in: Unified diff