Skip to content

Instantly share code, notes, and snippets.

@-moz-document domain("chiefdelphi.com") {
/* Values have been taken from an archive of Chief Delphi before July 12, 2024 */
:root {
--base-font-size-smallest: 0.815em;
--base-font-size-smaller: 0.875em;
--base-font-size: 0.938em;
--base-font-size-larger: 1.063em;
--base-font-size-largest: 1.118em;
--font-up-6: 2.296em;
--font-up-5: 2em;
@bobbysq
bobbysq / apikeys.py
Created April 24, 2023 03:18
CIR Championship Analyzer
api_key = '' # TBA Read API Key
appid = "frc0000:ciranalyzer:v01" # change 0000 to your team number if you want
# Example using PWM to fade an LED.
import time
from machine import Pin, PWM
# Construct PWM object, with LED on Pin(25).
power = PWM(Pin(19))
converted_power = 0
percent_power = 50
{
"fileName": "libpixy2.json",
"name": "libpixy2",
"version": "1.0.0",
"uuid": "4ca7a436-bcd7-4e63-bf1b-c70bb4a8a1d9",
"mavenUrls": [
"http://www.team4646.org/maven/release/"
],
"jsonUrl": "http://www.team4646.org/maven/release/org/team4646/libpixy2/libpixy2.json",
"cppDependencies": [
@bobbysq
bobbysq / serialmotor.ino
Last active December 29, 2018 01:25
Script for controlling FRC motor controllers with an Arduino
/*
A program to control a PWM motor controller or servo over serial.
Based on "Knob" by Michal Rinott and Scott Fitzgerald.
Open a serial terminal at 9600 and connect it to your Arduino's
(or similar product's) COM port. Then enter a value between -100
and 100 to control the motor controller. Please set the line
ending to "No line ending" or it'll reset to 0 after every input.
Wiring: