/**@brief Function for application main entry. Does not return. */ int main(void) { // Setup bsp module. bsp_configuration(); const uint32_t err_code = spi_slave_example_init(); APP_ERROR_CHECK(err_code); // Enter application main processing loop. for (;;) { // No implementation needed. } }
/**@brief Function for application main entry. Does not return. */ int main(void) { // Configure all LED as outputs. nrf_gpio_range_cfg_output(LED_START, LED_STOP); const uint32_t err_code = spi_slave_example_init(); APP_ERROR_CHECK(err_code); // Set LED0 high to indicate that the application is running. nrf_gpio_pin_set(LED_0); // Enter application main processing loop. for (;;) { // No implementation needed. } }