Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
Fork of SensorModulePIR by
defineGPIOs.h
00001 00002 // ** Defining the GPIOs pins 00003 00004 00005 00006 // ** Serial communication 00007 #define PIN_TX p22 00008 #define PIN_RX p23 00009 //#define PIN_TX USBTX 00010 //#define PIN_RX USBRX 00011 00012 // ** I2C bus for Temperature sensors 00013 #define PIN_SDA p12 00014 #define PIN_SCL p13 00015 00016 // ** Presence detection pin (old PIR) 00017 //#define PIN_PRESENCE p8 // for: eTRV_Rel.2.0: it works on both p8 and p2 00018 //#define PIN_PRESENCE p11 // for: eTRV_Rel.2.1 with 100K pulldown R 00019 #define PIN_PRESENCE_RIGHT p25 // for: engine_Rel.1.0, eTRV_Rel.2.1 without pulldown R 00020 #define PIN_PRESENCE_LEFT p24 // for: engine_Rel.1.0, eTRV_Rel.2.1 without pulldown R 00021 00022 // ** LED 00023 //#define PIN_LED_PCB p21 //for eTRV_Rel.2.1, eTRV_Rel.3.0 Blue 00024 #define PIN_BLED_PCB p28 //for engine_Rel.1.0 Blue 00025 #define PIN_RLED_PCB p29 //for engine_Rel.1.0 Red 00026 //#define PIN_LED_PCB p8 //for eTRV_Rel.3.0 Red 00027 //#define PIN_LED_PCB p10 //for eTRV_Rel.3.0 Green
Generated on Wed Jul 20 2022 20:14:52 by
1.7.2
