[Firebug-cvs] fireboard/fireboard/apps/TestTaos testtaosM.nc,1.1.1.1,1.2
Brought to you by:
doolin
From: <do...@us...> - 2004-01-22 00:40:09
|
Update of /cvsroot/firebug/fireboard/fireboard/apps/TestTaos In directory sc8-pr-cvs1:/tmp/cvs-serv31002/fireboard/apps/TestTaos Modified Files: testtaosM.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: testtaosM.nc =================================================================== RCS file: /cvsroot/firebug/fireboard/fireboard/apps/TestTaos/testtaosM.nc,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** testtaosM.nc 5 Jan 2004 21:03:27 -0000 1.1.1.1 --- testtaosM.nc 22 Jan 2004 00:40:06 -0000 1.2 *************** *** 37,41 **** command result_t StdControl.start() { ! call TAOS.powerOn(); return SUCCESS; } --- 37,41 ---- command result_t StdControl.start() { ! call TAOS.startSampling(); return SUCCESS; } *************** *** 73,77 **** call Leds.greenToggle(); ! SODbg(DBG_USR2, "Taos Ch%i data: %i Cord: %i Step: %i ADC Counts: %i Light(lux): %i \n", channel, taos_data,cord,step,adc,(int)lux); --- 73,77 ---- call Leds.greenToggle(); ! SODbg(DBG_USR2, "Taos Ch%i data: %i Cord: %i Step: %i ADC Counts: %i Light(lux): %i \r\n", channel, taos_data,cord,step,adc,(int)lux); *************** *** 80,86 **** ! event result_t TAOS.error(uint16_t error_code) { ! SODbg(DBG_USR2, "OVERFLOW\n"); return SUCCESS; } --- 80,86 ---- ! async event result_t TAOS.error(uint16_t error_code) { ! SODbg(DBG_USR2, "OVERFLOW\r\n"); return SUCCESS; } |