diff options
author | Christian Pointner <equinox@spreadspace.org> | 2018-11-22 02:42:45 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2018-11-22 02:42:45 +0100 |
commit | f8eee14729012f620fb7448334eaef46f1964198 (patch) | |
tree | 6105e9130462581e45ba1dae9e7a98bc15d7a3f5 /lora-test/lora-test.cpp | |
parent | added basic environment for RadioHead lib - not working yet (diff) |
some more tests - still does not compile
Diffstat (limited to 'lora-test/lora-test.cpp')
-rw-r--r-- | lora-test/lora-test.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lora-test/lora-test.cpp b/lora-test/lora-test.cpp index 665e762..aecb0a6 100644 --- a/lora-test/lora-test.cpp +++ b/lora-test/lora-test.cpp @@ -28,7 +28,11 @@ #include "util.h" #include "led.h" + #include "RadioHead.h" +#include "RH_RF95.h" + +RH_RF95 rf95; int main(void) { @@ -39,7 +43,9 @@ int main(void) led_init(); sei(); + rf95.init(); + rf95.setFrequency(868.0); for(;;) { - // for now we don't do anything here... + // for now we don't do anything here... } } |