/Mini-FRC

A simple guide to the software side of Mini FRC.

A simple guide to Mini FRC software

Step 1 - Downloading Driver Station Software

Download and run the latest version of Alfredo Connect Desktop.

Step 2 - Downloading Arduino Libraries

Download the Arduino Library for Alfredo Connect Reciever

In the Arduino IDE, Click Sketch > Include Library > Add .ZIP Library..., and select the ZIP file you downloaded.

Download the Arduino Library for the motor shield

In the Arduino IDE, Click Sketch > Include Library > Add .ZIP Library..., and select the ZIP file you downloaded.

Step 3 - Drivetrain Code

In the Arduino IDE, go to File > Examples > AlfredoConnect-Receive-Master > Uno > Adafruit-Motor-Shield-v1 > ArcadeBotGamepadUno This will pull up code for a two motor drive train.

Step 4 - Programming Motors For Your Robot

First, you will need to declare your motor as a variable, an example of this is below.

Screenshot 2022-05-01 105839

The number in the parentheses is the motor port that your motor is connected to on the motor shield.

Next, we will program our motor to run when the A button on an Xbox remote is held down. AlfredoConnect makes this very simple with their library, an example of this is below.

Screenshot 2022-05-01 110740

MAKE SURE THIS IS DONE IN THE LOOP FUNCTION!