Examples of how rad mesecons is:  http://mesecons.net/digilines.html and http://mesecons.net/luacontroller/  (also the FPGA.... hRRRRRNNNGG)  !minetest