ECE 3882 Plant Project

Dependencies:   mbed Servo

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pins.cpp Source File

pins.cpp

00001 // David P. Thompson
00002 // ECE-3882-B - Team #17
00003 // Fall 2019
00004 // Light tracking plant project: pins.cpp
00005 
00006 #include "pins.h"
00007 #include "Servo.h"
00008 
00009 
00010 // MY HARDWARE ENVIRONMENT SETUP IMPLEMENTATION
00011 //
00012 
00013 // Initialize the Big Easy Driver controls to match board pinout wiring
00014 //PinDetect driverMS1(p21);
00015 //PinDetect driverMS2(p22);
00016 //PinDetect driverMS3(p23);
00017 //PinDetect driverEngage(p24);
00018 DigitalOut driverStep(p26);
00019 DigitalOut driverDir(p25);
00020 Servo servoControl(p22);
00021