* changed interval for laser

This commit is contained in:
Kaspar Schleiser 2010-11-24 11:08:15 +01:00
parent 17e41bae13
commit d5b65f9866

View File

@ -2,6 +2,7 @@
#include <sht11.h>
#include <board.h>
#include <swtimer.h>
#include <ltc4150.h>
int main(void)
{
@ -12,6 +13,8 @@ int main(void)
puts("LaSeR: Longterm Sensor Reader initialized.");
puts("Printing \"temperature in °C;relative humidity;temperature compensated relative humidity\".");
puts("");
ltc4150_start();
while (1) {
success = sht11_read_sensor(&sht11_val, HUMIDITY|TEMPERATURE);
@ -22,6 +25,6 @@ int main(void)
printf("%.2f;%.2f;%.2f\n", sht11_val.temperature, sht11_val.relhum, sht11_val.relhum_temp);
}
LED_RED_TOGGLE;
swtimer_usleep(1000 * 1000);
swtimer_usleep(60 * 1000*1000);
}
}