models.h

00001 #ifndef __MODELS_H__
00002 #define __MODELS_H__
00003 
00004 /* Define model text */
00005 #ifdef MODEL_N100
00006 #define SENSINODE_MODEL "N100 Module (CC2431-F128)"
00007 #endif
00008 #ifdef MODEL_N600
00009 #define SENSINODE_MODEL "N600 NanoRouter USB (CC2430-F128)"
00010 #endif
00011 #ifdef MODEL_N601
00012 #define SENSINODE_MODEL "N601 NanoRouter USB (CC2431-F128)"
00013 #endif
00014 #ifdef MODEL_N710
00015 #define SENSINODE_MODEL "N710 NanoSensor (CC2430-F128)"
00016 #endif
00017 #ifdef MODEL_N711
00018 #define SENSINODE_MODEL "N711 NanoSensor (CC2431-F128)"
00019 #endif
00020 
00021 #ifndef SENSINODE_MODEL
00022 #define MODEL_N100
00023 #define SENSINODE_MODEL "Sensinode N100 (CC2431-F128)"
00024 #endif
00025 
00026 /* All current models use these LED pins */
00027 #define LED1_PIN        P0_4
00028 #define LED2_PIN        P0_5
00029 
00030 /* Buttons */
00031 
00032 #ifdef MODEL_N711
00033 #define BUTTON1_PIN             P0_6
00034 #define BUTTON2_PIN             P0_7
00035 #endif
00036 
00037 /* Sensor pins */
00038 
00039 #ifdef MODEL_N711
00040 #define LIGHT_PIN               P0_0
00041 #define TEMP_PIN                P0_1
00042 #endif
00043 
00044 #endif /* __MODELS_H__ */

Generated on Mon Apr 11 14:23:45 2011 for Contiki 2.5 by  doxygen 1.6.1