SX1276 library for modtronix inair9. Edited for use with NRF51DK board.
Fork of SX1276Lib_modtronix by
SX1276LibConfig.h@26:ad32782125eb, 2017-11-19 (annotated)
- Committer:
- AMNoll
- Date:
- Sun Nov 19 18:19:55 2017 +0000
- Revision:
- 26:ad32782125eb
- Parent:
- 25:72381be1b0ce
latest version of pingpong on inair9
Who changed what in which revision?
User | Revision | Line number | New 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__ |