Quantcast
Channel: The Things Network - Latest posts
Viewing all articles
Browse latest Browse all 116635

Node based on Raspberry?

$
0
0

The used pins can be configured in the lmic_pinmap struct; see for example examples/thethingsnetwork-send-v1/thethingsnetwork-send-v1.cpp.
I used GPIO6 for CS, because GPIO8 did not work immediately. You could try to put 8 in pins.nss.
You also need to connect the RFM95's DIO0/1/2 pins; they are used.

But first you'll need to get the code to compile.
The code compiles on my Raspberry. (with g++ version 4.9/4.9.2).
The problem could lie in the trailing comma at the end of line 528, after 0x00. That comma can safely be removed.

Did you install the wiringPi package?

Good luck.


Viewing all articles
Browse latest Browse all 116635

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>