aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test
blob: 90d5353eaa4f47c005aaec2bc34be02f6dd931b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

machine flicker
[
	states [ light_off , light_on ];
	events [ one_second ];

	starting on light_on;

	transitions
	[
		from light_on to light_off on event one_second
			execute turn_off_light;
		from light_off to light_on on event one_second
			execute turn_on_light;
	];
];