think your using the wrong command, you can use 1 or high , for turn on,
for turn off use low or 0 (zero),
out and in are for establishing output or input (ie an led or a sensor of some type )
I could be totally wrong as I am no expert but worth a try I suppose
