Go Down

Topic: Virtual usb keyboard doesn't work (Read 494 times) previous topic - next topic

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: [Select]
void setup(){}
void loop()
{
UsbKeyboard.update();
  UsbKeyboard.sendKeyStroke(KEY_R);
delay (1000);
}

Where is bug?
Thanks.

PeterH

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.
I only provide help via the forum - please do not contact me for private consultancy.


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

PeterH



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


No. Is there any reason you can't investigate this yourself?
I only provide help via the forum - please do not contact me for private consultancy.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy