changed
# Returns true is state (is_down) changed since last call to `changed`
fun changed: Bool
do
var now = is_down
var last_down = last_down
if last_down == null then
self.last_down = now
return false
else if last_down != now then
self.last_down = now
return true
else return false
end
lib/bcm2835/bcm2835.nit:470,2--482,4