News:

;) This forum is the property of Proton software developers

Main Menu

USB HID Communication

Started by Roshan, Nov 27, 2021, 02:56 PM

Previous topic - Next topic

Roshan

Hi !

I want to make small project to learn, How can to get bidirectional data from PIC18F2550 to vb.net.

Before few times i heard easy hid wizard for proton basic. i tried to search but could not get any success.

If some one have  then please share.

Also how to use that, if any details available.


Thanks
 

Oskar-svr

#1

Stephen Moss

Have you looked at the samples provided with the compiler, specifically USB18 Com, USB18 Com_18F14K50 and USB18 Com_18F26J50?
Those might give you some clues, also try searching the forum as I am sure this has come up before, the the simplest way would probably be to configure as a serial device, then you just set up your serial port in VB, then is it simple send and receive.
That is how it is done with Arduinos so once the PIC is configured as a serial device that should work.

John Lawton

I've used Trastikata's framework as the basis of my HID Joystick configurator program.
https://protoncompiler.com/index.php/topic,289.0.html

The thread on the Joystick development is here: https://protoncompiler.com/index.php/topic,443.0.html

John