Commit 31010370 authored by Thomas Pryor's avatar Thomas Pryor
Browse files

Create main.ino

parent c87f28ca
// HARDWARE: Arduino MEGA 2560
#include "Arduino.h"
#include "megaBoardDefine.h"
#include <SPI.h>
#include <Ethernet.h>
#include <EthernetUdp.h>
#include <Servo.h>
#include <Wire.h>
void setup()
{
attachDriveMotors();
attachArmMotors();
initializeWireless();
}
void loop()
{
timeoutCheck();
receiveWirelessData();
writeToDriveMotors();
writeToArmMotors();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment