Also...
I'm using these 2 files + all of the files inside the USB18 folder from PBP.
Regards
Rui
Also...
I'm using these 2 files + all of the files inside the USB18 folder from PBP.
Regards
Rui
As far as I know all the samples in ..\USB18 will compile (I just tried a couple to confirm). One thing that often goes wrong when I use PicBasic is that I forget to set the correct microcontroller.
The point is that you start with working descriptors.You are right when you say to get a working example and do some changes.
That is what i'm trying to get...a working example.
George
Hi there,
Not in this case...i have the correct microcontroller selected.One thing that often goes wrong when I use PicBasic is that I forget to set the correct microcontroller.
Exactly, like i said in my first post.The point is that you start with working descriptors.
My problem with the PBP examples is that i'm having problems correlating them with the other examples posted all over the forum ( that dont compile here ) and therefore make the necessary changes to keyboard.
Too bad PBP does not have keyboard demos![]()
There is example...
HID USB Keypad.zip
There is example...
Attachment 7401
Hi
Sorry, forgot that PicBasic didn't have a keyboard example.Exactly, like i said in my first post.
My problem with the PBP examples is that i'm having problems correlating them with the other examples posted all over the forum ( that dont compile here ) and therefore make the necessary changes to keyboard.
Let's just hope that some kind soul has a working HID Keyboard descriptor.
This is a long shot but in the USB readme it says that the descriptors for the samples are derived from the original Microchip Solutions package. I've attached the keyboard and mouse descriptors from that package (you can download them yourself from Microchip's site). Using the PicBasic mouse descriptor you have compared to the Microchip version and hopefully understand how to convert the Microchip keyboard descriptor.
George
Keyboard_descriptors.txt Mouse_descriptors.txt
Please disregard my last post.
From forum search there appear to be several examples of working keyboard descriptors. For example http://www.picbasic.co.uk/forum/showthread.php?t=2872 post #2
Greetings guys,
@ towlerg,
I did checked them...in fact, the descriptor i'm using is the one from the link you posted...but like i said...they dont compileFrom forum search there appear to be several examples of working keyboard descriptors. For example http://www.picbasic.co.uk/forum/showthread.php?t=2872 post #2
@pedja089,
Thanks alot for the files. I opened the main file and just tried to compile...no success
I get alot of errors when compiling....
I'm very confused !!!
These should compile...why cant i compile ??
Regards
Rui
Add DT_INTS-18 files.
http://darreltaylor.com/DT_INTS-18/home.html
I downloaded that example few years ago from forum, and I'm sure that it worked with PBP2.50.
Bookmarks