Learn how to communicate with the PC using HID Protocol on a Leonardo [code snippet]

Hello,

Here's an update for Arduino 1.8.8:

https://www.codeproject.com/Tips/1251867/How-to-Communicate-with-the-PC-using-HID-Protocol