Example of using threads to run different actions happening at the same time.

Dependencies:   Motor Servo

Fork of Fa2018-es200-1121-3321-thread-example by Fa2018-es200-1121-project2-herndon-toss

History

Final Project2 code. Works with 2 separate switches. Other switches change leds. default tip

2018-10-23, by m214962 [Tue, 23 Oct 2018 13:29:33 +0000] rev 8

Final Project2 code. Works with 2 separate switches. Other switches change leds.


Finished most comments. Time can still be adjusted. Servo range can be changed, I just wasn't able to figure out how.

2018-10-22, by m214962 [Mon, 22 Oct 2018 15:23:45 +0000] rev 7

Finished most comments. Time can still be adjusted. Servo range can be changed, I just wasn't able to figure out how.


Works using thread. There are multiple "int main()"s so to speak. Each one controls a different tool.

2018-10-19, by m214962 [Fri, 19 Oct 2018 12:27:25 +0000] rev 6

Works using thread. There are multiple "int main()"s so to speak. Each one controls a different tool.


Tested. Went back to (deprecated) Thread::wait() but it and ThisThread::sleep_for() both seem to run really slow???

2018-10-15, by evangeli [Mon, 15 Oct 2018 11:34:44 +0000] rev 5

Tested. Went back to (deprecated) Thread::wait() but it and ThisThread::sleep_for() both seem to run really slow???


Still trying to get docstrings to work right

2018-10-14, by evangeli [Sun, 14 Oct 2018 22:05:59 +0000] rev 4

Still trying to get docstrings to work right


trying to get docstrings to work right

2018-10-14, by evangeli [Sun, 14 Oct 2018 22:00:35 +0000] rev 3

trying to get docstrings to work right


Edited documentation some.

2018-10-14, by evangeli [Sun, 14 Oct 2018 21:58:10 +0000] rev 2

Edited documentation some.


Initial commit

2018-10-14, by evangeli [Sun, 14 Oct 2018 21:56:20 +0000] rev 1

Initial commit


Initial commit. This example shows how to use threads to run two different things at once.

2018-10-14, by evangeli [Sun, 14 Oct 2018 21:54:14 +0000] rev 0

Initial commit. This example shows how to use threads to run two different things at once.