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

Add dependency when install Pillow at alpine image docker


Pillow needs dependency jpeg-dev, zlib-dev and libjpeg so add this to your Dockerfile before requirement instalation

.....
RUN apk add jpeg-dev zlib-dev libjpeg
COPY ./requirements.txt .
...
And rebuilt the image, hope this helps

Happy Codding 
Salam Ngoprek