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: mbos Watchdog TextLCD mbed ConfigFile
Task8Temp.cpp
00001 #include "Task8Temp.h" 00002 00003 void TempTask(void) 00004 {/** 00005 *\brief TASK 8 used to temporary test some functions 00006 */ 00007 static int TempAng; 00008 while (1) 00009 { 00010 os.WaitEvent(TEMP_EVT); 00011 00012 if((TempAng+=5) >=360) 00013 { 00014 TempAng=0; 00015 } 00016 Ang[Mag]=TempAng; 00017 Ang[Dir]=360-TempAng; 00018 Ang[Gps]=180-TempAng; 00019 printf("%i %i %i \n", Ang[0], Ang[1], Ang[2]); 00020 } 00021 }
Generated on Thu Jul 14 2022 14:06:47 by
1.7.2