Hi,
I am now reading lesson 5 of tinyos-2 tutorial. I had a problem with the
DemoSensorC in oscilloscope application.
I am now using micaz and tinyos-2 without sensor board. I installed the
oscilloscope application. It works. However, the data are almost constant
around 440 in the display panel. I tried both SineSensorC and different
valued ConstantSensorC in DemoSensorC. But the data are still the same
(always around 440). Since there is no sensor board, I did not specify
SENSORBOARD when I installed the oscilloscope application, that is, I just used
"make micaz reinstall,1 mib510,/dev/ttyS10". The DemoSensorC file I modified
was in /tos/platforms/micaz. I assumed that if I used SineSensorC, I
should get a sinusoid and if I used different values in ConstantSensorC, I
should get lines in different place. The DemoSensorC.nc is very simple, I do
not know where I should change the code.
I would appreciate it very much if anyone could let me know what's the
problem and how to solve it.
Thank you very much. I look forward to hearing from you.
Liang Hong
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help