sparkfun/MaKeyMaKey

Keyboard.h and Mouse.h, no such file or directory

Closed this issue · 1 comments

Hello,

I had an error on line 28 when uploading the file makey_makey.ino in my makey makey card.
If it happens to someone else, I have been able to solve the problem with removing the includes of Keyboard.h and Mouse.h

Regards,
Céline de Roland

Hi Céline,

We had to add those includes for some of the more recent versions of Arduino. It looks like Arduino 1.6.6 was the first release to make that change.

I've added a check to the firmware to avoid including those files if the Arduino version is older.

Thanks for the heads up!