Example of using threads to run different actions happening at the same time.
Fork of Fa2018-es200-1121-3321-thread-example by
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
8:990a1c27a5da | 2018-10-23 | m214962 | Final Project2 code. Works with 2 separate switches. Other switches change leds. |
7:b7257f01ced7 | 2018-10-22 | m214962 | Finished most comments. Time can still be adjusted. Servo range can be changed, I just wasn't able to figure out how. |
6:ed7539be9fa3 | 2018-10-19 | m214962 | Works using thread. There are multiple "int main()"s so to speak. Each one controls a different tool. |
5:0c7c692db414 | 2018-10-15 | evangeli | Tested. Went back to (deprecated) Thread::wait() but it and ThisThread::sleep_for() both seem to run really slow??? |
4:6ccbc7542ddc | 2018-10-14 | evangeli | Still trying to get docstrings to work right |
3:68bba10e81aa | 2018-10-14 | evangeli | trying to get docstrings to work right |
2:2710cfd7bc6a | 2018-10-14 | evangeli | Edited documentation some. |
1:184af0de4da7 | 2018-10-14 | evangeli | Initial commit |
0:ed939452cce3 | 2018-10-14 | evangeli | Initial commit. This example shows how to use threads to run two different things at once. |