Update of /cvsroot/firebug/fireboard/fireboard/apps/TestIntersema
In directory sc8-pr-cvs1:/tmp/cvs-serv31002/fireboard/apps/TestIntersema
Modified Files:
testintersemaM.nc
Log Message:
Crash bang boom. Light and barometer are down at the moment, but the driver code is getting much cleaner. May need to back out a couple of
minor changes later. There may be a file or two that have been removed from the archive that will be actually needed, it/they can be added back if it is
not possible to make the system files work.
Index: testintersemaM.nc
===================================================================
RCS file: /cvsroot/firebug/fireboard/fireboard/apps/TestIntersema/testintersemaM.nc,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** testintersemaM.nc 5 Jan 2004 21:03:27 -0000 1.1.1.1
--- testintersemaM.nc 22 Jan 2004 00:40:06 -0000 1.2
***************
*** 37,40 ****
--- 37,41 ----
command result_t StdControl.start() {
+ call Intersema5534AP.startSampling();
return SUCCESS;
}
***************
*** 66,75 ****
call Leds.greenToggle();
! SODbg(DBG_USR2, "Pressure: Temp(adc): %i Press(adc): %i Temp(degCx10): %i Press(mbar): %i \n", tempdata,baro_presdata,(int)temp, (int)baro_pres);
return SUCCESS;
}
! event result_t Intersema5534AP.error(uint16_t error_code) {
return SUCCESS;
}
--- 67,76 ----
call Leds.greenToggle();
! SODbg(DBG_USR2, "Pressure: Temp(adc): %i Press(adc): %i Temp(degCx10): %i Press(mbar): %i \r\n", tempdata,baro_presdata,(int)temp, (int)baro_pres);
return SUCCESS;
}
! async event result_t Intersema5534AP.error(uint16_t error_code) {
return SUCCESS;
}
|