Search found 7 matches

by Valeron
Sat Oct 30, 2010 8:23 pm
Forum: V-USB
Topic: HID_Data with Delphi...
Replies: 6
Views: 10923

Re: HID_Data with Delphi...

on event "OnEnumerate" ... if (HidDev.Attributes.VendorID=VID) and (HidDev.Attributes.ProductID=PID) then begin Dev:=HidDev; //Global variable eDev.Text:=Dev.ProductName; //my label Dev.CheckOut; end; ... on event "ButtonClick" var Raw:array[0..9] of byte; //length of Raw must be...
by Valeron
Fri Sep 03, 2010 6:00 am
Forum: V-USB
Topic: Bulk Transfer
Replies: 2
Views: 2591

Re: Bulk Transfer

Make a your Report Descriptor, for example (my working project): PROGMEM char usbHidReportDescriptor[USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH] = { 0x06, 0x00, 0xff, // USAGE_PAGE (Vendor Defined Page 1) 0x09, 0x01, // USAGE (Vendor Usage 1) 0xa1, 0x02, // COLLECTION (Logical) 0x85, 0x01, // REPORT_ID (0...
by Valeron
Fri Sep 03, 2010 5:40 am
Forum: V-USB
Topic: Atmega128, to change INT0 on INT4
Replies: 2
Views: 2770

Re: Atmega128, to change INT0 on INT4

All works!
D+ has been connected to other port than D-
by Valeron
Thu Aug 19, 2010 3:25 pm
Forum: V-USB
Topic: Atmega128, to change INT0 on INT4
Replies: 2
Views: 2770

Re: Atmega128, to change INT0 on INT4

This construction does not work : #define USB_INTR_CFG EICRB #define USB_INTR_CFG_SET ((1 << ISC40) | (1 << ISC41)) #define USB_INTR_CFG_CLR 0 #define USB_INTR_ENABLE EIMSK #define USB_INTR_ENABLE_BIT INT4 #define USB_INTR_PENDING EIFR #define USB_INTR_PENDING_BIT INTF4 #define USB_INTR_VECTOR SIG_I...
by Valeron
Thu Aug 19, 2010 9:54 am
Forum: V-USB
Topic: Atmega128, to change INT0 on INT4
Replies: 2
Views: 2770

Atmega128, to change INT0 on INT4

Help me please to change INT0 on INT4 for ATmega128
by Valeron
Wed Aug 11, 2010 11:32 am
Forum: V-USB
Topic: V-USB and mega128
Replies: 1
Views: 2497

Re: V-USB and mega128

Problem solved. Incorrect quantity of zero in F_CPU=12 000 00
by Valeron
Wed Aug 11, 2010 6:27 am
Forum: V-USB
Topic: V-USB and mega128
Replies: 1
Views: 2497

V-USB and mega128

Hello All, I have made the project on mega16 and I want to migrate on mega128. But status of my device is "undefined" (In English I do not know this message, I work on Windows Russian Edition). I have followed a working (on mega32, 12MHz) example "hid-custom-rq" and have changed:...