|
From: | Joseph Muhlhausen |
Subject: | Re: [Paparazzi-devel] Add a delay on power up to avoid bricking xbee |
Date: | Fri, 20 Feb 2015 15:47:53 -0500 |
Cheers, FelixWhat mode are you running the XBee in?Hi Joseph,that sounds bit strange, I've never had this problem before...
Do you maybe have xbee_api mode configured in your airframe file and are sending some wrong XBEE_INIT codes?On Thu, Feb 19, 2015 at 8:07 PM, Joseph Muhlhausen <address@hidden> wrote:_______________________________________________I found a solution.in v5.0 I modified paparazzi/sw/airborne/firmware/fixedwing/main_ap.cafter line 227 #if defined DATALINK I added:sys_time_usleep(5000000);It works although I'm not sure it's the best fix.On Wed, Feb 18, 2015 at 12:33 AM, Joseph Muhlhausen <address@hidden> wrote:Hi Guys,I have been having some trouble with my xbee. It bricks every time I power up the board, but works fine if I power up the board first and then connect the xbee. It might be some sort of signal before power issue.I am not very familiar with C. How should I got about adding a delay of 1 second before sending a signal through the xbee? Would sleep(1000) at the beginning of telemetry.c do the trick?Thanks,Joseph
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
[Prev in Thread] | Current Thread | [Next in Thread] |