Tweet

Replying to @IShJR and @adafruit

Key points though are to implement a Task that turns hardware input into Events, and a Task that updates the display based on the area of the Window requiring an update. The sketch in the gist demonstrates both of these, as tailored for the MagTag.

(original)