Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18582

Re: a strange bug between "trace" and "ADC" in edison arduino

$
0
0

Hi,

 

I just want the arduino sketch to print messages in the stdout. (by using printf() in the arduino IDE). so I commented out the "freopen" for stdout/stderr in the main function. but then many trace messages were printed in the screen. so I chose to disable the trace by trace_enable(0), then the problem occured....

 

I can work around my problem by "comment out the printf functions in trace_main() in trace.c" (the step 4 of the original post).

 

it is a so strange thing that the trace part will affect the ADC part.

 

Thanks

Jzd


Viewing all articles
Browse latest Browse all 18582

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>