chipKIT® Development Platform

Inspired by Arduino™

Serial.print in multiple tabs problem

Created Fri, 07 Dec 2012 21:42:29 +0000 by derpmachine...


derpmachine...

Fri, 07 Dec 2012 21:42:29 +0000

I used MATLAB coder to convert a pitch detection program to C so that I could run it on the UNO32. The C-code worked fine and printed out the same results as MATLAB. However, when I upload the code onto the UNO 32 using MPIDE, the UNO 32 seems to get stuck and never outputs any results.

I would like to try to figure out where it is getting stuck, but Serial.print only seems to work in the main tab in MPIDE, which is limiting. I have functions in the main tab call several other functions that are in other tabs. Is there any way to get Serial.print working on the other tabs so that I can see how far the program gets?

Thank you for your consideration!


Jacob Christ

Thu, 17 Jan 2013 19:01:51 +0000

Which version of the IDE are you using and are you trying to print floats?

There is a error in the boards variant file for the Uno32 that messes with floating point printing.

https://github.com/chipKIT32/chipKIT32-MAX/issues/283

Jacob