Howto use B-L072Z-LRWAN1 with lmic


My notes howto make B-L072Z-LRWAN1 can use lmic in arduino, i’m using standard lmic and this library can’t work until you add manually pin spi at your setup.

SPI.setMOSI(PA7);
SPI.setMISO(PA6);
SPI.setSCLK(PB3);

And you can use this pinout

// Pin mapping
const lmic_pinmap lmic_pins = {
.nss = PA15,
.rxtx = LMIC_UNUSED_PIN,
.rst = PC0,
.dio = {PB4, PB1, PB0},
};

For complete code you can see at my github here

Advertisement

Author: susiloharjo

Khoirunnas anfa'ahum linnas A Father, Husband and love to learn person Love my Family, Electronics, Photography, Robot, Dreaming, Programming

Ditunggu komennya ...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: