Since this is terra incognita for me, I don't want to screw things up - to brick the board or lose the ability to flash new programs using the standard Arduino IDE (as one guy warns here: arduino mega 2560 as HID USB keybaord - Programming Questions - Arduino Forum). ![]() So, I read that I need to rewrite the board's firmware to make it appear to PC as a keyboard. My code that uses Keyboard.begin() just doesn't compile for Mega 2560. I found this lib but it is only for Leonardo, Micro, or Due. I'd like to use the onboard USB connection for this, so that I can avoid buying any additional hardware like USB shield. ![]() ![]() I have an Arduino Mega 2560 board for this, as it has enough inputs to handle the ~30 keys. I have a project where I have to create a custom keyboard with limited set of keys.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |