% Single line comments start with "%". Multi-line comments are enclosed % within tags of "%{}%". % Example3 %{ Show how to combine the two independent Example1 and Example2 programs, into one resultant program. }% module Example3 : % Instruct the Esterel compiler to generate #include "example3.h": type ForceTheIncludeDirective; % I/O required by Example1: input SW1_ASSERTED; % Switch SW1 input input SW2_ASSERTED; % Switch SW2 input output LED1_ASSERT; % LED1 Output % I/O required by Example2: input Second_Tick; % Time Base Tick from IRQ output LED2_TOGGLE; % LED2 Output % Run Example1 and Example2 concurrently, in endless loop: loop run Example1 || run Example2 end loop end module