Simulating simple electric circuits
Bjoern Schliessmann
usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Wed May 9 10:34:26 EDT 2007
Arnaud Delobelle wrote:
> When you turn a switch off, it would send a message to the paths
> that depend on it (maybe via the controller?) so that they would
> be
> deactivated. In turn the lightbulbs on these paths would be
> informed that they are no longer active.
>
> When you turn a switch on, it would send a message to the paths
> that depend on it so that those who do not have another off switch
> would be
> activated. In turn the lightbulbs on these paths would be
> informed that they have a new power source.
Wow, as I read your reply again, this is exactly the approach I
thought of yesterday. :) As mentioned in an adjacent posting, I'll
try it out.
Thanks to all for comments. This list is great. :)
Regards,
Björn
--
BOFH excuse #133:
It's not plugged in.
More information about the Python-list
mailing list