I'm not clear on where you are having problems, TOS or Java or All?
Assuming that you got the Oscope program to work as it stands, then
you want to modify it to get and send both temp and light readings?
To do that you should be able to dig down in DemoSensor to see how
it works, or just toss it out and use PhotoTemp. The latter switches
on the right sensor and does an ADC reading. You probably want to
alternate readings and fill the OscopeMsg buffer accordingly.
On the Java side, if you just want to print stuff out to the shell
window, you could hack up Listen to pretty-print the message buffer
in any format you like.
Was that the question?
MS
Xenia Economidou wrote:
Hello everyone,
My name is Xenia Economidou from Queen Mary University (3rd yearer
student in Bachelor of Engineering). As part of my final year project,
which I have to submit in less than three weeks, I have to link the
Oscilloscope application to a Java program in the computer in order to
check the values and also print them (e.g. readings for light and
temperature). As I am runnig out of time it is very importand for me to
get guidance from you as soon as possible. Although I have studied the
oscope codes it is still not clear for me where I should start from:
a. to print the measurements of the temperature, and
b. check the values for light, (i.e. if it is dark or not).
Any help from you is greatly appreciated as I am getting closer to the
deadline of the project.
PLEASE HELP!!
Kind Regards,
Xenia
------------------------------------------------------------------------
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help