PDA

View Full Version : USB compile problem



keymuu
- 22nd September 2008, 16:20
Hi !

I'm using PicBasicPro v.2.50

Trying to use USBINIT, USBSERVICE, USBIN and USBOUT,
however without success...

Does anybody know what is wrong when you get the
following errors when you try to compile your program:

ERROR: Macro USBINIT? not found in the macro file.
ERROR: Macro USBSERVICE? not found in the macro file.
ERROR: Macro USBIN?CBBL not found in the macro file.
ERROR: Macro USBOUT?CBBL not found in the macro file.

What macro file do the above lines refer to?

I have tried to search for those USBxxx words in C:\PBP folder but
can only find in some text files, ex. USB.txt.

What file is missing or in a wrong place,
could somebody please point out what file is exactly missing?

Thank you in advance for your help!

Best regards
Key

skimask
- 22nd September 2008, 16:39
A bit of a search here (or maybe in the PBP manual) will tell you what to do to enable the USB macros in your source code...just a little search, a little bit of a USB search...
http://www.picbasic.co.uk/forum/showthread.php?t=5418