Android Question USB-OTG


New Member
Hi, Im a beginner in B4A. I need to connect Android device with Pic18F14K50 microcontroller (VID=1240 PID=0010) which works in USB-CDC by USB-OTG cable. The programm should send the array of data like {0x01,0x02,0x03} and get back the array of data like {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08}.
Could somebody show me some example that will help me.


Active Member
Licensed User
Can you throw any example? I'm new and I did not get (((I need to connect my microcontroller to send and receive data !! I will be very grateful to you for example!
Upvote 0