Out of curiosity... Anyone tried USBDemo with Windows Vista? Working?
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
No, but I'll give it a go this weekendI can feel a backup coming on....
BTW,
I need a decent way to debounce a number of switch's connected to my pic.
I'm using a dirty PAUSE 50 to do just that, but finding unless I put USBSERVICE everywhere (ie after checking the status of each switch), the switch's arent being sent to the pc (via usb).
I borrowed the ASM timer interrupts from the usbdemo code, but that doesnt help either. I'm thinking that TMR interrupts aren't independent of PAUSE statements. Is this true?
I don't want to use the BUTTON command.
cheers
Squib
If you're using ON INTERRUPT... yes PAUSE will screw up things. Using Darrel's interrupt + it's USBDemo code modification ( AKA POST 148), should solve it.
http://www.picbasic.co.uk/forum/show...&postcount=148
Depending how you implemented the interrupt debounce/read plah plah, it may work as well with ON INTERRUPT..
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Ok Great I'll have to try it. Good to know there could be a work around.
BTW I tried running usbdemo on Vista, but I need the mchid.dll, which I have on floppy disk but can't get it on to the laptop running vista.
Don't supose you can upload it on to the website so I can download it straight onto my laptop eh?
Cheers
squib
That DLL came with Mecanique EasyHID. I'm not sure if David allow to link the DLL even if the software is 100% free.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
What would the __CONFIG lines look like using the ECIO mode with a 48MHz half size oscillator on pin 9?
Bookmarks