From 2217645d07da6cf50e31e08b8b9239766a66b234 Mon Sep 17 00:00:00 2001 From: Arnaud Blanchard <arnaud.blanchard@ensea.fr> Date: Wed, 2 May 2018 21:29:08 +0200 Subject: [PATCH] Update README.md --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 12be210..7483592 100644 --- a/README.md +++ b/README.md @@ -10,20 +10,20 @@ Library providing command line program facilities Program main loop ================= -BLC_COMMAND_LOOP - -- 1. Eventually acquires the profiling data. -- 2. Check if it is the iteration limit and pauses in this case. -- 3. Wait for the kayboard or the waiting semaphores. -- 4. Ready to start, updates the timer. - -Main program - - 5. Compute the time of the loop - 6. Eventually wait for more time - -BLC program -============ +BLC_COMMAND_LOOP(period in micro seconds) + +- Eventually acquires the profiling data. +- Check if it is the iteration limit and pauses in this case. +- Wait for the keyboard or the waiting semaphores +- Ready to start, updates the timer + { + Your main activity + } +- Compute the time of the loop +- Eventually wait for more time (if it is faster that the requested period ) + +Tutorial +======== Exemple based on **t_parse_arguments** ------------------------------------------------ -- GitLab