From: liang_mike Date: Sat, 2 Aug 2008 02:47:51 +0000 (+0000) Subject: Pause a bit before the next sample X-Git-Tag: release_tinyos_2_1_0_0~9 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=6121cc2c44298ca93d4af4d80117c5c609c26661 Pause a bit before the next sample --- diff --git a/apps/tosthreads/apps/TestBasicsbSensors/TestBasicsbSensorsC.nc b/apps/tosthreads/apps/TestBasicsbSensors/TestBasicsbSensorsC.nc index f43e8868..d9e63373 100644 --- a/apps/tosthreads/apps/TestBasicsbSensors/TestBasicsbSensorsC.nc +++ b/apps/tosthreads/apps/TestBasicsbSensors/TestBasicsbSensorsC.nc @@ -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); } } }