]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Pause a bit before the next sample
authorliang_mike <liang_mike>
Sat, 2 Aug 2008 02:47:51 +0000 (02:47 +0000)
committerliang_mike <liang_mike>
Sat, 2 Aug 2008 02:47:51 +0000 (02:47 +0000)
apps/tosthreads/apps/TestBasicsbSensors/TestBasicsbSensorsC.nc

index f43e886860d5f72bfaf234941c2a82270bc0e523..d9e633737b572acc1003ddbb2d60f88304def748 100644 (file)
@@ -67,6 +67,7 @@ implementation {
       while( call Temp.read(&(readings->temp)) != SUCCESS );
       while( call BlockingAMSend.send(AM_BROADCAST_ADDR, &msg, sizeof(sensor_readings_t)) != SUCCESS );
       call Leds.led0Toggle();
+      call MainThread.sleep(512);
     }
   }
 }