Search found 3 matches

by laurentppol
Fri Jul 30, 2010 10:39 pm
Forum: V-USB
Topic: Bug in Wiki (or) in "PowerSwitch" [solved]
Replies: 2
Views: 3400

Re: Bug in Wiki (or) in "PowerSwitch" [solved]

The BUGS (multiple - 4) are on HOST side of example program powerswitch.c: Original code: if(strcmp(argv[1], "on") == 0){ nBytes = usb_control_msg(handle, USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_IN, PSCMD_ON, duration, port, (char *)buffer, sizeof(buffer), 5000); }else if(strcmp(...
by laurentppol
Tue Jul 27, 2010 1:33 am
Forum: V-USB
Topic: Bug in Wiki (or) in "PowerSwitch" [solved]
Replies: 2
Views: 3400

Bug in Wiki (or) in "PowerSwitch" [solved]

Hi, I'am trying to understand V-USB, so I have started with PowerSwitch as it is said to be "pure basics". On my board I have an LCD, so I included (original) lcd.h/lcd.c (after configuring pins - works OK). (my "target" is something like lcd2usb but this project does NOT work fo...
by laurentppol
Wed Jul 21, 2010 11:02 pm
Forum: V-USB
Topic: Multiple time declarations (newbie)
Replies: 0
Views: 4267

Multiple time declarations (newbie)

Hi, sample projects on this site seems to follow thi schema in directory design: /circuit /firmware (with subdir /usbdrv) /"application". After looking inside (PowerSwitch) sources I realized that there are declarations (#defines) that are (almost - but they define the SAME) the same in TW...