This project is a real-time operating system (RTOS) for a smartwatch. It consists of two threads, one for interrupt handling and the other for running tasks. The main thread checks for interrupt from the user, and the other thread does the scheduling and execution of tasks.
The implementation has 4 tasks:
- Showing current time
- Step Counter
- Heart Rate Monitor
- Alarm after k seconds
To run the main file, please follow these steps:
- Compile the code using the following command:
g++ -o main.exe main.cpp StepCounter.cpp UpdateTime.cpp Create_Task.cpp HeartRate.cpp
- Run the executable file using the following command:
./main.exe
This project requires the following dependencies:
- C++ compiler
- C++ Inbuilt Functions
- Aayush Gautam
- Dhruv Mahajan
This project is licensed under the MIT License.