fixed oversight in InterruptSensor's setPin()
fixed syntax errors