Adaptation of SMPIR for the Window Sensor Module of the Agile-IoT project.
Dependencies: BLE_API mbed nRF51822
Fork of SensorModulePIR by
defineGPIOs.h
- Committer:
- MisterGiet
- Date:
- 2018-06-06
- Revision:
- 22:88b6e11eb8d5
- Parent:
- 3:53db6c57bb61
File content as of revision 22:88b6e11eb8d5:
// ** Defining the GPIOs pins // ** Serial communication #define PIN_TX p22 #define PIN_RX p23 //#define PIN_TX USBTX //#define PIN_RX USBRX // ** I2C bus for Temperature sensors #define PIN_SDA p12 #define PIN_SCL p13 // ** Presence detection pin (old PIR) //#define PIN_PRESENCE p8 // for: eTRV_Rel.2.0: it works on both p8 and p2 //#define PIN_PRESENCE p11 // for: eTRV_Rel.2.1 with 100K pulldown R #define PIN_PRESENCE_RIGHT p25 // for: engine_Rel.1.0, eTRV_Rel.2.1 without pulldown R #define PIN_PRESENCE_LEFT p24 // for: engine_Rel.1.0, eTRV_Rel.2.1 without pulldown R // ** LED //#define PIN_LED_PCB p21 //for eTRV_Rel.2.1, eTRV_Rel.3.0 Blue #define PIN_BLED_PCB p28 //for engine_Rel.1.0 Blue #define PIN_RLED_PCB p29 //for engine_Rel.1.0 Red //#define PIN_LED_PCB p8 //for eTRV_Rel.3.0 Red //#define PIN_LED_PCB p10 //for eTRV_Rel.3.0 Green