It sounds like you would also be getting an error that says it can't open include file DT_INTS-18.bas.
Did you put it in your PBP folder?
It sounds like you would also be getting an error that says it can't open include file DT_INTS-18.bas.
Did you put it in your PBP folder?
DT
Actually I just resolved it. It seems the line to include DT_HID260.pbp must come AFTER the INT_CREATE. I moved the include from the top of the file to this location and the errors went away.
Compiles no errors means it will work fine right? Well not exactly, but I'll chew on "why" by myself for a bit.
Thanks for the help!
Well I though I'd leverage Darrel's heavy lifting and put the USB code (including the interrupt structure) together with the SD card code and make myself basically an overly complicated and expensive thumb drive, purely for my education. It seems, however, that the includes consume more than the 2K space for variables, and after about an hour of trying to make things less generic by eliminating variables wherever possible in favor of fixed values, I still don't have enough space. I'm also not sure if I'm even getting close - is there any way to have the compiler tell you how much you are over by, rather than simply "unable to fit"?
Charlie,
I had a similar problem once; so I copied the Includes in the code and removed all the variables I didn't need. That worked in my particular situation.
Robert
I'm just getting my feet wet with USB. I currently have PBP (2.60C). I'd like to get some recommendations, before I get too far into this project:
1) Is there any benefit to upgrading to PBP 3.0, specifically for my USB experiments?
2) I have very little experience with VB6, but some experience with VBA (in Excel). Back on post 248, Steve said, "...VB6 being a dead duck for ages now...". I _have_ VB6, but was wondering if there was a more current alternative (other than going out and trying to learn a completely new language, like C)
Any tips would be greately appreciated!
Jeff
[QUOTE=JBKerner;112633Steve said, "...VB6 being a dead duck for ages now...". I _have_ VB6, but was wondering if there was a more current alternative (other than going out and trying to learn a completely new language, like C)
[/QUOTE]
VB.NET;
http://www.picbasic.co.uk/forum/cont...-USB-to-VB.NET
Thanks and Regards;
Gadelhas
Jeff, read this thread:
http://www.picbasic.co.uk/forum/showthread.php?t=16234
It's exactly about this topic.
Robert
Bookmarks