piface/pifacecad — pull request #10 by 0xPr0xy (2014-03-14 21:50:38+00:00)
Title: cast memory variables to float before division

problem was I saw nothing but 0% on my raspberry, running python 2.7
this fixes that.