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.
Dependencies: mbed MCP23017 WattBob_TextLCD mbed-rtos
my_tasks.h
00001 #pragma once 00002 #ifndef __MY__TASKS_H__ 00003 #define __MY__TASKS_H__ 00004 00005 #include "mbed.h" 00006 #include "rtos.h" 00007 00008 // Runs at 10 Hz - Starts TASK 1 and TASK 3 00009 void timer1(void *arg); 00010 00011 // Runs at 2 Hz - Starts TASKS 2 - 4 - 6; TASK 5 - 9 & TASK 10 00012 void timer2(void *arg); 00013 00014 // Runs at 0.2 Hz - Starts TASK 7 and TASK 8 00015 void timer3(void *arg); 00016 00017 // Car Simulator - Runs at 20 Hz 00018 void task0_carSim(void *arg); 00019 00020 void task1_readAccelBrake(void *arg); 00021 00022 void task2_readEngineState(void *arg); 00023 00024 void task3_filterSpeed(void *arg); 00025 00026 void task4_showUseOfBrake(void *arg); 00027 00028 void task5_monitorSpeed(void *arg); 00029 00030 void task6_writeLCD(void *arg); 00031 00032 void task7_sendToMailQueue(void *arg); 00033 00034 void task8_dumpMailQueue(void *arg); 00035 00036 void task9_readSideLight(void *arg); 00037 00038 void task10_turnIndic(void *arg); 00039 00040 #endif /*! __MY__TASKS_H__ */
Generated on Wed Jul 13 2022 17:41:33 by
1.7.2