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: Commands charQueue esp8266-driver
positioning.cpp
00001 #include "positioning.h" 00002 00003 /* 00004 Initialise object. 00005 Call initators for any local objects. 00006 */ 00007 Positioning::Positioning(osPriority priority, int memory) { 00008 positioning_thread = new Thread(priority, memory); 00009 00010 } 00011 00012 /* 00013 Infinite loop that will be run. like a main loop. 00014 */ 00015 void Positioning::run() { 00016 while (true) { 00017 00018 } 00019 } 00020 00021 /* 00022 Called by main at the start of operation to start the thread running. 00023 */ 00024 void Positioning::start() { 00025 positioning_thread.start(callback(this, &Positioning::run)); 00026 }
Generated on Wed Jul 13 2022 21:48:17 by
1.7.2