val = offon(val)
Replace 0 with 'off' and 1 with 'on'
0,1 or character string
string, possible values: 'off' or 'on'