gilestrolab / ethoscope

a platform from monitoring animal behaviour in real time from a raspberry pi
http://lab.gilest.ro/ethoscope/
GNU General Public License v3.0
17 stars 25 forks source link

has_interacted variable should not be bool #52

Closed qgeissmann closed 8 years ago

qgeissmann commented 8 years ago

it would be more convenient to have has_interacted as a small signed int. this way instead of being either:

we could have:

for instance a three way valve can be in two positions.

this should be backward compatible as if(0) == false & if(1) ==true.