Hi,
I am working on a project. we want to get data over BLE in dongle and send them to PC using USB since it has more speed. for the first step, I want to program the nRF USB protocol using usb-cdc-acm example. but when I change the boards definition to pca10059 I get this error:
compiling main.c...
..\..\..\main.c(280): error: #20: identifier "TX_PIN_NUMBER" is undefined
uart_config.pseltxd = TX_PIN_NUMBER;
..\..\..\main.c(281): error: #20: identifier "RX_PIN_NUMBER" is undefined
uart_config.pselrxd = RX_PIN_NUMBER;
I know I can declare them in pca10059.h file, but this does not help. I did it but nothing transferred over USB to the PC. I have some questions:
1. what is uart doing in this example and why it is important to declare RX and TX ins which are for uart? while I want to send data over USB?
2. is there any way to use the USB without needing uart?
3. what kind of changes I have to do on the example to get the work done?