I am currently trying to combine the TWI_scanner and UART examples from PCA10028 into one example program. I am copying over code from one main.c file into the other.
So I am combining the two main.c files into one main.c file but I get compile errors when I try running the combined code. Is there any recommendation on the best way to combine the TWI_scanner + UART examples then? Or perhaps I forgot to copy over some other files that are needed for both example programs to work?
I noticed that the original TWI_scanner program uses a nrf_drv_uart.c in the nRF_drivers folder. Does that mean that the original TWI scanner program already has UART capability?
I am using Keil 5 and SDK version 12.