Skip to content

Instantly share code, notes, and snippets.

View sobrinho's full-sized avatar

Gabriel Sobrinho sobrinho

View GitHub Profile
@erictroebs
erictroebs / Touch.cpp
Last active November 10, 2023 17:14
Arduino Micro (ATmega32U4) Ten Finger Touchscreen Example
#include "Touch.h"
#if defined(_USING_HID)
#define CONTACT_COUNT_MAXIMUM 10
#define REPORTID_TOUCH 0x04
#define LSB(v) ((v >> 8) & 0xff)
#define MSB(v) (v & 0xff)