FormMain.frm is missing...
Excellent project!
Not too complicated, but there are interesting examples of communication and usage of DT's include files.
Perhaps you should add the LCD.
Here is my example how to sendtext from winamp to lcd:
http://www.elektronika.ba/506/lcd-winamp-plugin-on-usb/
I hope that you will manage the translation...
5 years later and this thread always evolve and got some more user in the "USB freaks" loops. Glad to see that. Congrats to all!
Now I wish I have time to revamp it and share some part of what i've done for .NET (C# & VB) ...VB6 being a dead duck for ages now... and the .dll not that suitable now (but still workable) and then on the top of it, new PBP version
Helm PCB (Amr Bekhit) did a good work on my first .NET version though http://helmpcb.com/?p=166
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Reading through this it looks like there was a sample of code were the 18F2550 was using an external resonator at 20mhz using the HS fuse. Looking at the datasheet, this would only enable low speed USB, right?
With those chips ... you can get Full Speed with any crystal that's a multiple of 4Mhz (up to 24Mhz).
And the processor can run at 48Mhz too.
They have a really nice Oscillator/PLL.
Adjusting the Configuration bits is a little tricky though.
DT
Hello
I use a PIC18F2550 for CDC serial port emulation based on cdc_demo.bas:
USBInit
For input and output I use:
inloop:
icnt = inbuff
USBService
USBIn 3, inbuffer, icnt, inloop
outloop:
USBService
ocnt = outbuff
USBOut 3, outbuffer, ocnt, outloop
and it works really fine.
At start PIC tests 5V from PC-USB-Port to wait with 'USBInit'. Sometimes PC is rebooting w/o switch off, but equipmend with the PIC interface still running. Is it possible to let the PIC routine know that Windows VSP is gone and the 'USBInit' has to be done again?
Thanks to everybody who can help
Bookmarks