Skip to content

Instantly share code, notes, and snippets.

View Mateo-S's full-sized avatar

Mateo Silver Mateo-S

View GitHub Profile
@Mateo-S
Mateo-S / ledColorTest.ino
Created January 12, 2019 00:59
Put an rgb value in the serial monitor, get that color on the LED strip
/*
ledColorTest.ino - Code to run on Chairmans Visual for the 2019 season
author - Mateo Silver
REFERENCE COLORS:
Red - (255,0, 0)
Blue - (0,0, 255)
Green - (0,255, 0)
White - (255,255, 255)
Purple - (128,0, 128)
@Mateo-S
Mateo-S / pathGrapher.py
Created August 21, 2018 18:37
Path Graphing Test, results to be implemented in pythonDriver.py soon
import sys
import matplotlib.pyplot as plt
from scipy.interpolate import interp1d
import matplotlib.patches as mpatches
import numpy as np
from scipy import interpolate
from scipy.signal import savgol_filter
import statsmodels.api as sm
polyDegree = 50
@Mateo-S
Mateo-S / pythonDriver.py
Last active August 10, 2018 21:49
Autonomous driver prototype for Chrono
import socket
import sys
import DriverMessages_pb2
import math
import gpxpy
import gpxpy.gpx
class Driver:
def __init__(self):
print("Initializing Driver...\n")
@Mateo-S
Mateo-S / eganTest.ino
Created April 6, 2018 03:22
eganTest
#include <FastLED.h>
#include <Wire.h>
#include "Adafruit_Trellis.h"
// Comment out for prod to save memory
//#define DEBUG 1
// LEDs
const int LED_PIN = 6;
int isFire = false;