Tried twi scanner sample and twi_master_using_app_twi. When enabled TWI_CONFIG_LOG_ENABLED, the compilation will fail! Can idea??
Tried twi scanner sample and twi_master_using_app_twi. When enabled TWI_CONFIG_LOG_ENABLED, the compilation will fail! Can idea??
Hi,
There seems to be too many ending parentheses in the definition of the macro EVT_TO_STR()
in nrf_drv_twi.c. Please change line 62 to:
(event == NRF_DRV_TWI_EVT_DATA_NACK ? "EVT_DATA_NACK" : "UNKNOWN ERROR")))
Best regards,
Jørgen
Thanks, this solve the problem~