This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "Keypad.h" | |
| #include "EEPROM.h" | |
| const byte col = 4; | |
| const byte row = 4; | |
| char keys[row][col] = { | |
| {'1','2','3','A'}, | |
| {'4','5','6','B'}, | |
| {'7','8','9','C'}, | |
| {'*','0','#','D'} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(tidyverse) | |
| library(shadowtext) | |
| library(ggplot2) | |
| winrate = read.csv("winrates.csv", header=F) | |
| everything = read.csv("big_scrape.csv") | |
| hlteams = everything %>% filter(team == "frc254" | team == "frc1741" | team == "frc6372" | team == "frc558" | team == "frc3933") | |
| ggplot(everything) + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.redalert1741.robotbase.input; | |
| import edu.wpi.first.wpilibj.GenericHID; | |
| public class Guitar extends GenericHID { | |
| public Guitar(int port) { | |
| super(port); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package csvconvert; | |
| import java.util.Scanner; | |
| public class Convert | |
| { | |
| public static void main(String[] args) | |
| { | |
| //change /frccsv.csv to filename (absolute) | |
| Scanner s = new Scanner(Convert.class.getResourceAsStream("/frccsv.csv")); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| placeBot.tiles = [ | |
| [0,171,3], | |
| [1,171,3], | |
| [2,171,2], | |
| [3,171,5], | |
| [4,171,5], | |
| [5,171,5], | |
| [6,171,5], | |
| [7,171,3], | |
| [8,171,3], |