PROJ515-MASTER-No-PWM

Dependencies:   mbed mbed-rtos ShiftReg2 TextLCD

Committer:
thomasmorris
Date:
Tue May 07 21:55:57 2019 +0000
Revision:
4:020f93d35f6e
Added mutex and safey coding needs more. Added board and serial functions that need testing. As well as a more thorough post function.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
thomasmorris 4:020f93d35f6e 1 #ifndef _SETUP_HPP_
thomasmorris 4:020f93d35f6e 2 #define _SETUP_HPP_
thomasmorris 4:020f93d35f6e 3 //Libraries
thomasmorris 4:020f93d35f6e 4 #include "mbed.h"
thomasmorris 4:020f93d35f6e 5 #include "rtos.h" //Real Time Operating System. https://os.mbed.com/handbook/RTOS
thomasmorris 4:020f93d35f6e 6 //#include "ShiftReg.h"
thomasmorris 4:020f93d35f6e 7
thomasmorris 4:020f93d35f6e 8
thomasmorris 4:020f93d35f6e 9 //Header Files
thomasmorris 4:020f93d35f6e 10 #include "Control.hpp"
thomasmorris 4:020f93d35f6e 11 //Digital Outputs
thomasmorris 4:020f93d35f6e 12 static Thread Control_Interboard_Comms_Thread;
thomasmorris 4:020f93d35f6e 13 static Thread Control_power_Thread;
thomasmorris 4:020f93d35f6e 14 static Thread Feedback_Thread;
thomasmorris 4:020f93d35f6e 15 static Thread Serial_PC_Thread;
thomasmorris 4:020f93d35f6e 16 static Thread Serial_Board_Thread;
thomasmorris 4:020f93d35f6e 17 #endif //_SETUP_HPP_