pt = 100*(double)Data1/(double)Data2;
请问一下在Contiki里这个计算式应该怎么写,我这样写打印出来的结果是空白的,裸机下结果是对的,Data1和Data2都有数据。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.