Skip to content

Instantly share code, notes, and snippets.

int latchPin = 8;
int clockPin = 12;
int dataPin = 11;
byte column[8] = {128,64,32,16,8,4,2,1};
byte row[8];
void setup() {
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
@danricho
danricho / arduino-led-matrices.ino
Last active July 12, 2020 10:42
danricho.com example code
int latchPin = 8;
int clockPin = 12;
int dataPin = 11;
byte column[8] = {128,64,32,16,8,4,2,1};
byte row[8];
void setup() {
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
import time
import threading
import gremlin
from vjoy.vjoy import AxisName
# Implement using recurring timer
def slider_update_timer():
vjoy = gremlin.input_devices.VJoyProxy()