version 1.0

Dependencies:   CMSIS_DSP_401 GPS MPU9150_DMP PID QuaternionMath Servo mbed

Fork of SolarOnFoils_MainModule_20150518 by Dannis Brugman

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers MainModule.h Source File

MainModule.h

00001 #ifndef MAINMODULE_INCLUDE
00002 #define MAINMODULE_INCLUDE
00003 
00004 
00005 void vInit (void);
00006 void vInitImu (void);
00007 void vInitCANBus (void);
00008 
00009 void vBlinkOff_cb (void);
00010 void vEmergencyOff_cb (void);
00011 void vBlinkOnce_cb(void);
00012 void vEmergencyOnce_cb (void);
00013 void vCallEmergencyLed(void);
00014 
00015 void trigger_sw(void);
00016 void trigger_rotated(void);
00017 void vResetSwitch (void);
00018 void vSetSwitch (int);
00019 void vSwitchRotated (void);
00020 void vSwitchConfirmed (void);
00021 
00022 void vCANBusSend(void);
00023 
00024 void vGetMPUBuffer(void);
00025 
00026 float getRollAngle(Quaternion);
00027 float getPitchAngle(Quaternion);
00028 
00029 
00030 #endif