@@ -0,0 +1,1538 @@
+/*%0A * To change this license header, choose License Headers in Project Properties.%0A * To change this template file, choose Tools %7C Templates%0A * and open the template in the editor.%0A */%0A%0Apackage org.usfirst.frc5107;%0A%0Aimport net.sourceforge.yamlbeans.YamlException;%0Aimport net.sourceforge.yamlbeans.YamlReader;%0Aimport com.sun.squawk.microedition.io.FileConnection;%0Aimport javax.microedition.io.Connector;%0Aimport java.io.DataInputStream;%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.io.InputStreamReader;%0Aimport java.io.Reader;%0A/**%0A *%0A * @author Conner%0A */%0Apublic class Values %7B%0A    private int%0A            fLeftMotor,%0A            rLeftMotor,%0A            fRightMotor,%0A            rRightMotor,%0A            cMotor1,%0A            cMotor2,%0A            cFeed,%0A            cScrew1,%0A            cScrew2,%0A            solenoid1,%0A            solenoid2;%0A    private int%0A            clawLimit,%0A            screwUp,%0A            screwDown;%0A    private double%0A            cMotorSpeed,%0A            cFeedSpeed,%0A            cScrewSpeed;%0A    %0A    public Values() throws YamlException, IOException%7B%0A        FileConnection fc;%0A        fc = (FileConnection)Connector.open(%22file:///config.yml%22, Connector.READ);%0A        InputStream input = new DataInputStream((InputStream) fc);%0A        Reader joe  = new InputStreamReader(input);%0A        fc.close();%0A        YamlReader reader = new YamlReader(joe);%0A        Object parsed = reader.read(vals.class);%0A        //Extend this for each variable%0A        this.cMotorSpeed = vals.cMotorSpeed;%0A    %7D%0A%7D%0A

Create Values.java