That was a joke by the way! I probs should get a fire extinguisher though with some of the things i do.
My point with 50Hz is that the PIC thinks the smoke machine is ready then not ready 100 times a second. Ive been thinking about the code for that and it should be really easy. Just a variable that counts down to 0 from whatever value (i havnt worked that out yet). If it gets to 0 then there is no power, otherwise the input will turn on again before it reaches 0 and reset the variable to its start value
Bookmarks