p2p with rssi value
Dependents: Lora_SX1272_serial_apr29-rssi
Diff: SX1272.cpp
- Revision:
- 1:5d57c6a92509
- Parent:
- 0:d974bcee4f69
- Child:
- 2:a5a72d30cb18
diff -r d974bcee4f69 -r 5d57c6a92509 SX1272.cpp --- a/SX1272.cpp Sun Nov 05 14:30:04 2017 +0000 +++ b/SX1272.cpp Sun Nov 05 17:02:01 2017 +0000 @@ -104,9 +104,10 @@ //ajoute par C.DUPATY //Serial pc(USBTX, USBRX); // tx, rx -SPI spi(SPI_MOSI,SPI_MISO,SPI_SCK);; // mosi, miso, sclk -DigitalOut ss(SPI_CS); -DigitalOut rst(PA_8); +// config pour SX1272MB2xAS sur NUCLEO-L073RZ +SPI spi(SPI_MOSI,SPI_MISO,SPI_SCK);; // PA_7, PA_6, PA_5 +DigitalOut ss(SPI_CS); //(PB_6) +DigitalOut rst(PA_0); //**********************************************************************/ // Public functions.