Pages: [1]   Go Down
Author Topic: Virtual usb keyboard doesn't work  (Read 397 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi!
I used https://code.google.com/p/vusb-for-arduino/ library for working with usb.
Its photo of device (with Schematic)

I used this code
#include "UsbKeyboard.h"
Code:
void setup(){}
void loop()
{
 UsbKeyboard.update();
  UsbKeyboard.sendKeyStroke(KEY_R);
delay (1000);
}
Where is bug?
Thanks.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12579
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Dunno - your code looks similar to the examples. Did you notice this comment in the readme?

Quote
  NOTE: The code will NOW ONLY WORK WITH THE PCB DESIGN
        *NOT* THE PROTOBOARD DESIGN.

If you haven't already checked it, I suggest you focus on the hardware design to make sure your circuit is correct for this version of the library.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Dunno - your code looks similar to the examples. Did you notice this comment in the readme?

Quote
  NOTE: The code will NOW ONLY WORK WITH THE PCB DESIGN
        *NOT* THE PROTOBOARD DESIGN.

If you haven't already checked it, I suggest you focus on the hardware design to make sure your circuit is correct for this version of the library.
Thanks, But can u tell me difference with PCB and PROTOBOARD DESIGN
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12579
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Thanks, But can u tell me difference with PCB and PROTOBOARD DESIGN

No. Is there any reason you can't investigate this yourself?
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Pages: [1]   Go Up
Jump to: