diff --git a/README.md b/README.md index 12be210448510f87cb8e34586d1311eb89615cb1..7483592eaac87f2f4da66e93b2eb0c92c13bc3f0 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** ------------------------------------------------