Update of /cvsroot/firebug/fireboard/fireboard/apps/TestTaos
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18150/TestTaos
Modified Files:
testtaos.nc testtaosM.nc
Log Message:
Updated test applications for HLSensor.
Index: testtaosM.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/fireboard/apps/TestTaos/testtaosM.nc,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** testtaosM.nc 3 Feb 2004 19:09:54 -0000 1.3
--- testtaosM.nc 26 Mar 2004 00:44:34 -0000 1.4
***************
*** 1,4 ****
- /* -*- Mode: C; c-basic-indent: 3; indent-tabs-mode: nil -*- */
-
/**
--- 1,2 ----
***************
*** 17,21 ****
uses {
! interface Sensor as TAOS;
interface Leds;
}
--- 15,19 ----
uses {
! interface HLSensor as TAOS;
interface Leds;
}
***************
*** 32,35 ****
--- 30,34 ----
init_debug();
call Leds.init();
+
return SUCCESS;
}
***************
*** 37,42 ****
command result_t StdControl.start() {
! call TAOS.setSamplingInterval(2500);
! call TAOS.startSampling();
return SUCCESS;
}
--- 36,42 ----
command result_t StdControl.start() {
! call TAOS.powerOn(TAOS_POWER_ON);
! //call TAOS.setSamplingInterval(2500);
! //call TAOS.startSampling();
return SUCCESS;
}
Index: testtaos.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/fireboard/apps/TestTaos/testtaos.nc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** testtaos.nc 5 Jan 2004 21:03:27 -0000 1.1.1.1
--- testtaos.nc 26 Mar 2004 00:44:34 -0000 1.2
***************
*** 1,3 ****
! /* -*- Mode: C; c-basic-indent: 3; indent-tabs-mode: nil -*- */
/**
--- 1,3 ----
!
/**
***************
*** 30,34 ****
testtaosM.Leds -> LedsC;
! testtaosM.TAOS -> taos.Sensor;
}
--- 30,34 ----
testtaosM.Leds -> LedsC;
! testtaosM.TAOS -> taos.HLSensor;
}
|