mirror of
https://github.com/schoebel/mars
synced 2025-02-24 16:47:20 +00:00
Switch on only when all predecessor bricks are also on. Failing to do so can result in fatal errors. Similarly, switch only off if no successor exists any more. |
||
---|---|---|
.. | ||
mars_light.c | ||
mars_proc.c | ||
mars_proc.h | ||
README | ||
strategy.h | ||
sy_generic.c | ||
sy_net.c |
This is ugly code from a first prototype trial. It will disappear as soon as the new strategy layer has been implemented. The new system will use an interpreter for automated pattern matching and triggering actions, in a much more generic fashion than hand-crafted here.