Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

John Westhoff JohnathonNow

🎯
Focusing
Block or report user

Report or block JohnathonNow

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@JohnathonNow
JohnathonNow / Atari2600USB.ino
Created Feb 2, 2017 — forked from anonymous/Atari2600USB.ino
A simple program for the Digispark Pro for reading in 10 digital inputs and mapping them to joystick buttons.
View Atari2600USB.ino
#include "DigiJoystick.h"
char BUTS[] = { 6, 5, 2, 1, 0, 7, 8, 9, 10, 11 };
void setup() {
for (int i = 0; i < 10; i++) {
pinMode(BUTS[i], INPUT);
}
}
void loop() {
You can’t perform that action at this time.