2

if you are getting ceros, the most probably couse it's the library for the IR. Reinstall or updeate the library, sometimes you have to reinstall more than one time. That should work. About media keys, the keyboard library doesn't have media keys funccionallity, so you need to use another one. This one worked for me https://github.com/NicoHood/HID after you ...


1

It turns out there is a library that can be added to compile the media and system functions for USB keyboard connection into the Leonardo, as well as other Arduino modules. It is available through 'tools','library manager'; it is HID-project by NicoHood. There is an example program called "system example" at github to test it for for wake and sleep....


Only top voted, non community-wiki answers of a minimum length are eligible