RedBearLab / Blend

Arduino-compatible boards (Blend and Blend Micro) with BLE (Atmega32u4 + nRF8001).
50 stars 14 forks source link

Keyboard HID USB Library not working #10

Open Lydecker opened 8 years ago

Lydecker commented 8 years ago

Given this is a Atmega32u4 chip (Leonardo board) - should I not be able to use the Keyboard library (I'm talking USB HID - NOT BLE)?

Commands such as Keyboard.begin() and Keyboard.println() although compile fine, do not output anything through the USB were as they do with the Leonardo board.

Lydecker commented 8 years ago

Some progress on this - it appears to be bad drivers supplied by RedBear.

To program the BlendMicro you must install the board's driver as instructed on RedBear's code repository here: https://github.com/RedBearLab/Blend. The 'RBL_Windows_Driver_Installer.zip' driver package needs to be installed as instructed by RedBear so the board can be detected in the Arduino IDE HOWEVER the driver also completely removes the HID Keyboard element of the board.

After programming the BlendMicro on a computer with the required driver installed, if I then remove the BlendMicro and connect it to a different computer WITHOUT the driver installed - it detects it as a HID Keyboard and it works fine!

It appears some work needs to be done on RedBear's driver for this board....