slope mode works

x slope makes the value 0-255 as output