Search found 2 matches

by ckkwok456
Sat Jul 19, 2014 5:48 am
Forum: V-USB
Topic: PowerSwitch using ATMega168
Replies: 2
Views: 5027

Re: PowerSwitch using ATMega168

The D+ is PD2 ( INT0 ) as required.
by ckkwok456
Fri Jul 18, 2014 7:13 pm
Forum: V-USB
Topic: PowerSwitch using ATMega168
Replies: 2
Views: 5027

PowerSwitch using ATMega168

I just finished the powerSwitch project using ATMega168. It states in the usbconfig.h that any pin in the port can be used as D- #define USB_CFG_DMINUS_BIT 3 /* This is the bit number in USB_CFG_IOPORT where the USB D- line is connected. * This may be any bit in the port. But when I use PD4 as D-, i...