diff --git a/Basics.md b/Basics.md index fb7d3e4..85ba6c8 100644 --- a/Basics.md +++ b/Basics.md @@ -39,4 +39,17 @@ void setup() { } ``` -Please note that SPI bus MUST be initialized prior to calling the `begin()` method! \ No newline at end of file +Please note that SPI bus MUST be initialized prior to calling the `begin()` method! + +The same logic can also be applied to change some properties of the default SPI bus, for example: + +```c++ +SPISettings spiSettings(4000000, LSBFIRST, SPI_MODE3); +SX1278 radio = new Module(cs, irq, rst, gpio, SPI, spiSettings); + +void setup() { + SPI.begin(); + (...) + radio.begin(); +} +``` \ No newline at end of file