Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Fonseca Yarochewsky
2014-15
Commits
31010370
Commit
31010370
authored
May 15, 2015
by
Thomas Pryor
Browse files
Create main.ino
parent
c87f28ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Arduino Code/masterCode/main.ino
0 → 100644
View file @
31010370
// 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
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment