Based on SX1276Lib. Simplified and targeted for Modtronix inAir modules. All pins can now be specified to use interrupts or general purpose I/O pins.

Files at this revision

API Documentation at this revision

Comitter:
modtronix-com
Date:
Wed Oct 21 14:51:37 2015 +1100
Parent:
6:d542b5a44d5a
Child:
8:b1dfb4139657
Commit message:
Added dependency for modtronix_config.h file.

Changed in this revision

inair_default_config.h Show annotated file Show diff for this revision Revisions of this file
diff -r d542b5a44d5a -r 4d242a6ca693 inair_default_config.h
--- a/inair_default_config.h	Tue Oct 20 17:47:24 2015 +1100
+++ b/inair_default_config.h	Wed Oct 21 14:51:37 2015 +1100
@@ -21,18 +21,10 @@
 #ifndef MODTRONIX_INAIR_INAIR_DEFAULT_CONFIG_H_
 #define MODTRONIX_INAIR_INAIR_DEFAULT_CONFIG_H_
 
-//This file is used to configure the "modtronix_inAir" library. The recommended way to change the defines
-//in this file is to create a copy of this file in your main project folder. Name it "inair_config.h".
-//To use the defines from this new file, comment the following line. This makes it easier when
-//upgrading to newer version of this library, seeing that this file with modifications will be
-//overwritten. After upgrade, all that has to be done is to uncomment following line again.
-#define USE_CUSTOM_INAIR_CONFIG    //Uncomment this line after creating "inair_config.h" in project
-
-#if defined(USE_CUSTOM_INAIR_CONFIG)
-#include "inair_config.h"
-#else
-//To use custom config, uncomment "USE_CUSTOM_INAIR_CONFIG" define above, and create "inair_config.h" file
-//#warning "Using default configuration for 'modtronix_inAir' library!"
+//This file requires a file called "modtronix_config.h" to exist in the project!
+//Use this file to override any of the default defines below. Do NOT edit this file!
+#if !defined(NO_MODTRONIX_CONFIG)
+    #include "modtronix_config.h"
 #endif
 
 // Copy from here to custom inair_defines.h file //////////////////////////////