Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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_
Generated on Fri Jul 22 2022 04:09:08 by
 1.7.2
 1.7.2