Description of a digital watch in Signal.

This example is defined in the directory: /home/lbesnard/Polychrony/V4.19/Linux/Examples/watch/COMPLETE.

SIGNAL programs

Compilation

add ../lib in SIGNAL_LIBRARY_PATH shell variable (command for linux: setenv SIGNAL_LIBRARY_PATH ${SIGNAL_LIBRARY_PATH}:../lib )

    signal -tra -c VTSTOPWATCH.SIG -par=VTSTOPWATCH.PAR

The results of the compilation are produced in the sub-directory VTSTOPWATCH:

Description of a digital watch in Signal.

Go into the sub-directory VTSTOPWATCH and run the command:

    make 

The following files are necessary for graphical display (don't delete them!)

Screen management (visual display of the watch)

The watch has three main states: ->WATCH-->CHRONOMETER-->ALARM- in which one goes cyclically by pressing the key "b".

The initial state is the WATCH state. When one enters a main state, the current substate is the last active one at the previous visit of the state.

WATCH

CHRONOMETER

ALARM

 All Files

Generated on Mon Jul 25 16:55:00 2011 for Polychrony, by  doxygen 1.6.1. This page has been designed by the Espresso team ( contact )