[Tinyos-beta-commits] CVS: tinyos-1.x/beta/platform/telosb hardware.h, 1.8, 1.9

Joe Polastre jpolastre at users.sourceforge.net
Wed Dec 1 14:04:18 PST 2004


Update of /cvsroot/tinyos/tinyos-1.x/beta/platform/telosb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11841

Modified Files:
	hardware.h 
Log Message:
remove sensorboard.h defaults in favor of unique(ADC) and uniqueCount
instead.  seperate header file for hamamatsu defines the ADC ports
used instead of hardware.h


Index: hardware.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/platform/telosb/hardware.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** hardware.h	7 Nov 2004 18:57:58 -0000	1.8
--- hardware.h	1 Dec 2004 22:04:16 -0000	1.9
***************
*** 204,234 ****
  }
  
- #ifndef SENSORBOARD_H
- #define SENSORBOARD_H
- 
- enum {
-   TOSH_ADC_PORTMAPSIZE = 4 // default board has no sensors hooked up
- };
- 
- enum
- {
-   TOSH_ACTUAL_ADC_PAR_PORT = ASSOCIATE_ADC_CHANNEL(
-          INPUT_CHANNEL_A4, REFERENCE_VREFplus_AVss, REFVOLT_LEVEL_1_5
-   ),
-   TOSH_ACTUAL_ADC_TSR_PORT = ASSOCIATE_ADC_CHANNEL(
-          INPUT_CHANNEL_A5, REFERENCE_VREFplus_AVss, REFVOLT_LEVEL_1_5
-   ),
- };
- 
- enum
- {
-   TOS_ADC_PAR_PORT,
-   TOS_ADC_TSR_PORT,
-   TOS_ADC_INTERNAL_TEMP_PORT,
-   TOS_ADC_INTERNAL_VOLTAGE_PORT
- };
- 
- #endif // SENSORBOARD_H
- 
  #endif // _H_hardware_h
  
--- 204,207 ----



More information about the Tinyos-beta-commits mailing list