Skip to content

Instantly share code, notes, and snippets.

Sam Sheffield samsheffield

Block or report user

Report or block samsheffield

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
@samsheffield
samsheffield / ProTrinketKeyboardEmulator.ino
Last active Sep 27, 2017
Basic keyboard example for Adafruit Pro Trinket with simultaneous input
View ProTrinketKeyboardEmulator.ino
// This requires Adafruit's Pro Trinket Keyboard library
#include <ProTrinketKeyboard.h>
// Array to hold keypresses.
uint8_t pressedKeys[9];
void setup() {
// Each pin uses internal pullup resistors
pinMode(3, INPUT_PULLUP);
pinMode(4, INPUT_PULLUP);
@samsheffield
samsheffield / TrinketKeyboardEmulator.ino
Last active Sep 22, 2017
Basic keyboard example for Adafruit Trinket with simultaneous input
View TrinketKeyboardEmulator.ino
// 3 button keyboard emulator for the 5V Adafruit Trinket.
// Requires the Trinket Keyboard Library from Adafruit (https://github.com/adafruit/Adafruit-Trinket-USB/archive/master.zip)
#include <TrinketKeyboard.h>
// Array to hold keypresses. Trinket can emulate 3 simultaneously pressed keys
uint8_t pressedKeys[3];
void setup() {
// Each pin* uses internal pullup resistors
View UnityCodingCheatSheet.txt
// Unity C# Cheat Sheet
// I made these examples for students with prior exerience working with C# and Unity.
// Too much? Try Unity's very good tutorials to get up to speed: https://unity3d.com/learn/tutorials/topics/scripting
You can’t perform that action at this time.