]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/micaz/DemoSensorStreamC.nc
Adding in cc2420 security support for Shimmer platform
[tinyos-2.x.git] / tos / platforms / micaz / DemoSensorStreamC.nc
index 0849582b41db9625e8251ccdf98df1bd1290c684..8a190d433254d8d785c884cc36444c52c28231cb 100644 (file)
@@ -22,8 +22,7 @@ generic configuration DemoSensorStreamC()
 }
 implementation
 {
-  components new AdcReadStreamClientC();
+  components new VoltageStreamC() as Sensor;
 
-  // An unconfigure atm128 ReadStream sensor reads the "ground" channel.
-  ReadStream = AdcReadStreamClientC;
+  ReadStream = Sensor;
 }