Open ponty opened 7 years ago
It would be more flexible to have configurable pins instead of hardcoded pins because:
I would like to move this code block in my main program without changing the lib:
BlueNRGDevice bluenrgDeviceInstance(IDB0XA1_PIN_SPI_MOSI, IDB0XA1_PIN_SPI_MISO, IDB0XA1_PIN_SPI_SCK, IDB0XA1_PIN_SPI_nCS, IDB0XA1_PIN_SPI_RESET, IDB0XA1_PIN_SPI_IRQ);
It would be more flexible to have configurable pins instead of hardcoded pins because:
I would like to move this code block in my main program without changing the lib: