hello there i want to send output of i2C sensor on ble. but how to add i2c driver for ble application???
hello there i want to send output of i2C sensor on ble. but how to add i2c driver for ble application???
Edit nrf_drv_config.h
as I showed in my previous comment. E.g. define TWI0_ENABLED 1
.
hey that solved my problem but when i start twi api in main file i am getting error like
._build\nrf51422_xxac_s110.axf: Error: L6200E: Symbol SPI0_TWI0_IRQHandler multiply defined (by nrf_drv_twi.o and main.o).
.\_build\nrf51422_xxac_s110.axf: Error: L6200E: Symbol nrf_drv_twi_data_count_get multiply defined (by nrf_drv_twi.o and main.o).
.\_build\nrf51422_xxac_s110.axf: Error: L6200E: Symbol nrf_drv_twi_disable multiply defined (by nrf_drv_twi.o and main.o).
.\_build\nrf51422_xxac_s110.axf: Error: L6200E: Symbol nrf_drv_twi_enable multiply defined (by nrf_drv_twi.o and main.o).
.\_build\nrf51422_xxac_s110.axf: Error: L6200E: Symbol nrf_drv_twi_init multiply defined (by nrf_drv_twi.o and main.o).
.\_build\nrf51422_xxac_s110.axf: Error: L6200E: Symbol nrf_drv_twi_rx multiply defined (by nrf_drv_twi.o and main.o).
.\_build\nrf51422_xxac_s110.axf: Error: L6200E: Symbol nrf_drv_twi_tx multiply defined (by nrf_drv_twi.o and main.o).
.\_build\nrf51422_xxac_s110.axf: Error: L6200E: Symbol nrf_drv_twi_uninit multiply defined (by nrf_drv_twi.o and main.o).
Have you defined SPI0_TWI0_IRQHandler in main.c?
hello my problem is solved
but my new problem is that i have written code for interfacing with adxl345. i am getting data on uart. now i want to send data on BLE. so i used that code in ble pheripheral. i am using soft device s110. but now i am not getting output on terminal?. can i upload all code??