Enabled all bandwidths, added Modtronix inAir9 module

Dependents:   SX1276PingPong_modtronix

Fork of SX1276Lib by Gregory Cristian

Committer:
modtronix
Date:
Wed Jul 29 12:07:40 2015 +1000
Revision:
25:72381be1b0ce
Parent:
24:1346d1c71c40
Removed DIO4 and DIO5 from code. Not available on inAir Modules.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
modtronix 18:cdb08d710838 1 /*
modtronix 18:cdb08d710838 2 Description: - Library Configuration
modtronix 18:cdb08d710838 3
modtronix 18:cdb08d710838 4 */
modtronix 18:cdb08d710838 5 #ifndef __SX1276LIBCONFIG_H__
modtronix 18:cdb08d710838 6 #define __SX1276LIBCONFIG_H__
modtronix 18:cdb08d710838 7
modtronix 22:20db480143c9 8 //Use the SHD3I shield, with the BOARD_INAIR4 module assembled in iMod port 3. The following pins are used:
modtronix 18:cdb08d710838 9 //SCLK=D13, MISO=D12, MOSI=D11
modtronix 25:72381be1b0ce 10 //DIO0=D2, DIO1=D8, DIO2=D4, DIO3=A4, DIO5=Not Used DIO4=Not Used
modtronix 18:cdb08d710838 11 //NSS(CS)=D7, Reset=A5
modtronix 18:cdb08d710838 12 #ifndef SHIELD_SHD3I_INAIR9
modtronix 18:cdb08d710838 13 #define SHIELD_SHD3I_INAIR9
modtronix 18:cdb08d710838 14 #endif
modtronix 18:cdb08d710838 15
modtronix 24:1346d1c71c40 16 //This library uses Arduino pins, which are not available on TARGET_NZ32ST1L and TARGET_NZ32SC151
modtronix 24:1346d1c71c40 17 #if ( defined ( TARGET_NZ32ST1L ) || defined(TARGET_NZ32SC151) )
modtronix 20:7cf7c08f0088 18 #define A0 NC
modtronix 20:7cf7c08f0088 19 #define A3 NC
modtronix 20:7cf7c08f0088 20 #define A4 NC
modtronix 20:7cf7c08f0088 21 #define D0 NC
modtronix 20:7cf7c08f0088 22 #define D1 NC
modtronix 20:7cf7c08f0088 23 #define D2 NC
modtronix 20:7cf7c08f0088 24 #define D3 NC
modtronix 20:7cf7c08f0088 25 #define D4 NC
modtronix 20:7cf7c08f0088 26 #define D5 NC
modtronix 20:7cf7c08f0088 27 #define D6 NC
modtronix 20:7cf7c08f0088 28 #define D7 NC
modtronix 20:7cf7c08f0088 29 #define D8 NC
modtronix 20:7cf7c08f0088 30 #define D9 NC
modtronix 20:7cf7c08f0088 31 #define D10 NC
modtronix 20:7cf7c08f0088 32 #define D11 NC
modtronix 20:7cf7c08f0088 33 #define D12 NC
modtronix 20:7cf7c08f0088 34 #define D13 NC
modtronix 20:7cf7c08f0088 35 #endif
modtronix 20:7cf7c08f0088 36
modtronix 18:cdb08d710838 37 #endif //__SX1276LIBCONFIG_H__