Added the and adjusted the final part to the scheduler. Added ability to add task functionality that will run. Updated main file to its intended state. Further added led functinality along with led warnings.
32 lines
952 B
C
32 lines
952 B
C
/**********************************************************************
|
|
* NAME: adc.h *
|
|
* AUTHOR: Philip Johansson *
|
|
* PURPOSE: Set up and read from ADC *
|
|
* INFORMATION: *
|
|
* Here we gather common variables for the system as a whole *
|
|
* *
|
|
* GLOBAL VARIABLES: *
|
|
* Variable Type Description *
|
|
* -------- ---- ----------- *
|
|
* *
|
|
**********************************************************************/
|
|
|
|
#ifndef SYSTEM_VARIABLES_H_
|
|
#define SYSTEM_VARIABLES_H_
|
|
|
|
|
|
|
|
#define ADC_STATE
|
|
#include "stm32f4xx.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* SYSTEM_VARIABLES_H_ */
|