Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 6 months ago.
timer
I am new to this mbed. At first, i want to explain my current project. The function is about HC-SR04 to detect the object for 3 seconds. Lower than 3 seconds, alarm will not be triggered while alarm will be triggered after detection for 3 seconds. I tried to study timer and timeout inside the library. However, i still cant get any idea on compiling my coding .
Thank you if some1 can guide me. It is important for me to do this project.
1 Answer
6 years, 6 months ago.
Please view the documentation and examples here - https://os.mbed.com/docs/v5.6/reference/timer.html
For compiling your code, please see here -https://os.mbed.com/docs/v5.6/tutorials/your-first-arm-mbed-application.html