I tried to revise the code base on SenseLightToLog so that I can store and 
retrieve data from MDA300 by injecting command. Can anyone teach me how to wire 
the interfaces?
   
  I use Micaz and MDA300.
  I searched the archive and followed some instructions. But I could not 
retrieve correct data.
   
  I wired the Sample interface which is in <xbow>/tos/sensorboards/mda300 
folder instead of ADC interface in the SenseLightToLogM.nc file. And I use 
Sample.getSample() and Sample.dataReady instead of ADC.getData and 
ADC.dataReady. The code past the compiler and it seems work. I could see the 
red LED toggle when I injected the start_sensing command. However, I could not 
receive correct data from the Micaz EEPROM. Everytime I use the log_read 
command, the log message appeared the same or changed in the same way.
   
  I thought I made some linking mistake in the SenseLightToLog.nc configuration 
file. But I don't know what should I modify even though it past the compiler. 
   
  I can provide the code I modified if anyone can help me. Thanks 
   
  G.P.

 
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to