XRange-LoRaWAN-lmic-app
Dependencies: LMiC SX1272Lib XRange_mbed_src
Fork of LoRaWAN-lmic-app by
Diff: hal.cpp
- Revision:
- 4:9c6024bdc522
- Parent:
- 1:60184eda0066
--- a/hal.cpp Thu Apr 16 20:00:01 2015 +0000 +++ b/hal.cpp Sun May 31 17:58:58 2015 +0000 @@ -22,15 +22,15 @@ extern void radio_irq_handler( u1_t dio ); -static DigitalOut nss( D10 ); -static SPI spi( D11, D12, D13 ); // ( mosi, miso, sclk ) +static DigitalOut nss( PB_12 ); +static SPI spi( PB_15, PB_14, PB_13 ); // ( mosi, miso, sclk ) -static DigitalInOut rst( A0 ); -static DigitalOut rxtx( A4 ); +static DigitalInOut rst( PB_2 ); +static DigitalOut rxtx( PB_11 ); -static InterruptIn dio0( D2 ); -static InterruptIn dio1( D3 ); -static InterruptIn dio2( D4 ); +static InterruptIn dio0( PA_10 ); +static InterruptIn dio1( PA_9 ); +static InterruptIn dio2( PC_13 ); static void dio0Irq( void ) { radio_irq_handler( 0 );