Skip to content

Instantly share code, notes, and snippets.

View RaymarMonte's full-sized avatar

Raymar Monte RaymarMonte

View GitHub Profile
@RaymarMonte
RaymarMonte / dancepad.ino
Last active February 21, 2022 13:17
Code for the Arduino Leonardo that controls the dance pad. Dance pad was built following the guidelines of Danceforce v3 and v4 by Promit at https://ventspace.wordpress.com/
#include <Gamepad.h>
// Gamepad initialization
Gamepad gp;
const int ledPin = 13;
// Buttons
const int up = A3;
const int start = A1;