Raspberry PI GPIO mutli-threading Kegerator <p>I wanted to consult with minds that were more familiar with Python.</p> <p>The back story is I have a Kegerator with multiple taps (always a difficult decision when you want a drink). I have several flow sensors wired into it, and I am using the RPI for logging the data to my server. </p> <p>At the moment the code I am using works if only 1 flow sensor is being used. However if multiple beers (flow sensor ticks) it combines the results. </p> <p>Now I believe I need multiple classes defined for each kegerator, and create functions for each keg, but I wanted to confirm that with you guys.</p> <p><a href="http://pythonfiddle.com/flowmeter-app" rel="nofollow">http://pythonfiddle.com/flowmeter-app</a></p> <p><a href="http://pythonfiddle.com/flowmeter-class" rel="nofollow">http://pythonfiddle.com/flowmeter-class</a></p> <p>Any help would be appreciated. If you are in the Boston area, there could be a beer in it for you.</p>