Use V-USB with 2 stand alone USB
Posted: Fri Nov 20, 2009 2:30 pm
Hello,
I have made the HIDkeys project and the power switch project. It works.
Thanks to Development Software GmbH.
No my idea and question:
Is it possible to drive an atmega8 with 2 stand alone USB connectors?
The USBs are switch in 2 different PCs.
I will use Int0 for USB connector 1 and Int1 for USB connector 2.
USB1 works as an HDI device and USB2 works as a power switch.
I will copy and rename the files and functions und compile it.
eg in main.C
Will this works?
Are there troubles with the timing from usbPoll() und usbPoll_USB2()?
Thanks for anwer
I have made the HIDkeys project and the power switch project. It works.
Thanks to Development Software GmbH.
No my idea and question:
Is it possible to drive an atmega8 with 2 stand alone USB connectors?
The USBs are switch in 2 different PCs.
I will use Int0 for USB connector 1 and Int1 for USB connector 2.
USB1 works as an HDI device and USB2 works as a power switch.
I will copy and rename the files and functions und compile it.
eg in main.C
Code: Select all
sei();
for(;;){ /* main event loop */
wdt_reset();
usbPoll(); // Polling USB0
usbPoll_USB2();// Polling USB1
Will this works?
Are there troubles with the timing from usbPoll() und usbPoll_USB2()?
Thanks for anwer