hi.......... i am using nrf52832 and peripheral device , software -- segger 15.2 version
i am getting the error while merging uart and TWI sensor example program. this is the error below
'NRF_DRV_TWI_INSTANCE_0' undeclared here (not in a function) .even i have add the nrf_drv_TWI.c file and h file also
i need the solution , suggest me
even i have changed the sdk.configur.h
// <0=> Default // <1=> Black // <2=> Red // <3=> Green // <4=> Yellow // <5=> Blue // <6=> Magenta // <7=> Cyan // <8=> White #ifndef NRFX_TWIS_CONFIG_DEBUG_COLOR #define NRFX_TWIS_CONFIG_DEBUG_COLOR 0 #endif // </e> // </e> // <e> NRFX_TWI_ENABLED - nrfx_twi - TWI peripheral driver //========================================================== #ifndef NRFX_TWI_ENABLED #define NRFX_TWI_ENABLED 1 #endif // <q> NRFX_TWI0_ENABLED - Enable TWI0 instance #ifndef NRFX_TWI0_ENABLED #define NRFX_TWI0_ENABLED 1 #endif // <q> NRFX_TWI1_ENABLED - Enable TWI1 instance #ifndef NRFX_TWI1_ENABLED #define NRFX_TWI1_ENABLED 0 #endif