Thomas Morris / Mbed 2 deprecated Grid_Tie_V9

Dependencies:   mbed mbed-rtos

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SETUP.hpp Source File

SETUP.hpp

00001 #ifndef _SETUP_HPP_
00002 #define _SETUP_HPP_
00003 
00004 #include "mbed.h"
00005 #include "rtos.h"  //Real Time Operating System. https://os.mbed.com/handbook/RTOS
00006 #include "DRIVER.hpp"
00007 
00008 static DigitalOut myled(LED1);
00009 static Thread INPUT_THREAD;
00010 static Thread OUTPUT_THREAD;
00011 extern Serial pc(USBTX, USBRX);         //Define serial namespace so the serial comms can be printed to
00012 
00013 //Driver Connections
00014 DRIVER DRIVER_1(PB_0,PB_6,PA_0,PA_1);//PWM pin,Control pin, Hall effect sensor, Coil feedback;
00015 #endif//_SETUP_HPP_