mcci-catena / arduino-lorawan

User-friendly library for using arduino-lmic with The Things Network and other LoRaWAN® networks
MIT License
275 stars 54 forks source link

RFM_pins #168

Open tcpipchip opened 3 years ago

tcpipchip commented 3 years ago

const sRFM_pins RFM_pins = { .CS = RADIO_NSS, .RST = RADIO_RESET, .DIO0 = RADIO_DIO_0, .DIO1 = RADIO_DIO_1, .DIO2 = RADIO_DIO_2, .DIO5 = RADIO_DIO_5, };

Hello! How r you ?

This is my config to SX1276.

Can you help me how to use on MCCI ?

const cMyLoRaWAN::lmic_pinmap myPinMap = { .nss = RADIO_NSS, .rxtx = cMyLoRaWAN::lmic_pinmap::LMIC_UNUSED_PIN, <===== wich GPIO ? .rst = RADIO_RESET, .dio = { RADIO_DIO_0, RADIO_DIO_1, RADIO_DIO_1 }, .rxtx_rx_active = <===== wich GPIO ?, .rssi_cal = 0, <===== GPIO ???? .spi_freq = 8000000, };

thanks