Search found 23 matches

by xtrabit
Mon May 09, 2016 9:41 am
Forum: Compiler
Topic: HID Keyboard Demo Problem
Replies: 30
Views: 12764

Re: HID Keyboard Demo Problem

Already did it but when uncommenting these code it stops working.

Code: Select all

Initialize 
Timer.Items(Timer1).Interval = 1 Timer.Items(Timer1).OnTimer = @OnTimer1 // 1 Ms
Timer.Items(Timer1).Enabled = True
Timer.Start 
by xtrabit
Mon May 09, 2016 7:28 am
Forum: Compiler
Topic: HID Keyboard Demo Problem
Replies: 30
Views: 12764

Re: HID Keyboard Demo Problem

Thanks. It now works with 1.4.3. But i cant use ISRTimer with this code. I think USB Service must be disabled to use ISRTimer. How can get it work?
by xtrabit
Sat May 07, 2016 5:48 am
Forum: Compiler
Topic: HID Keyboard Demo Problem
Replies: 30
Views: 12764

Re: HID Keyboard Demo Problem

It gives absurd warnings (Inline procedure called from within context save block) with original library, when converted to 1.4.3, compiles but don't work. USB Keyboard Demo code works well with SFC 2.1.0.0 from 2008, but i want to use licensed and up to date program, library and the compiler.
by xtrabit
Fri May 06, 2016 3:38 pm
Forum: Compiler
Topic: HID Keyboard Demo Problem
Replies: 30
Views: 12764

Re: HID Keyboard Demo Problem

Thanks for help. Waiting for your work.
by xtrabit
Fri May 06, 2016 11:15 am
Forum: Compiler
Topic: HID Keyboard Demo Problem
Replies: 30
Views: 12764

Re: HID Keyboard Demo Problem

Hi, my files are at the attachment. Thanks. Cant send or receive data. replaced SFC original usb library files with 1.4.3 files.
by xtrabit
Thu May 05, 2016 10:20 am
Forum: Compiler
Topic: HID Keyboard Demo Problem
Replies: 30
Views: 12764

Re: HID Keyboard Demo Problem

Thanks for help. Returned to 1.4.3, but code can't get Caps Lock status from PC. My SendKey() code is not working too. Here is my code: Device = 18F2550 Clock = 48 Config PLLDIV = 5,CPUDIV = OSC1_PLL2,USBDIV = 2,FOSC = HSPLL_HS,VREGEN = ON, PWRT = ON,BOR = ON, MCLRE = OFF #option HID_BUFFER_SIZE = 8...
by xtrabit
Wed May 04, 2016 12:47 pm
Forum: Compiler
Topic: HID Keyboard Demo Problem
Replies: 30
Views: 12764

Re: HID Keyboard Demo Problem

Tried 1.4.3 but it needed rewrite for the demo software. So i returned to original usb library from SFC. Now using usbhid.bas v1.1 10/01/2007.

If you can help me to convert this demo code to 1.4.3, i prefer to use that.
by xtrabit
Tue May 03, 2016 1:44 pm
Forum: Compiler
Topic: HID Keyboard Demo Problem
Replies: 30
Views: 12764

HID Keyboard Demo Problem

hi guys, I'm new here. Just bought SFC and tried to compile HID Keyboard example at here It wont compile and i get "Identifier not defined: TXReportRAM" and "Identifier not defined: RXReportRAM" error. But these are defined in USBHID.bas file. Tried USB Library 1.4.3 but removed them. How can i fix ...