How to control servo motor with Bluetooth

I am using send1bytenumber method in blutooth call in app inventor and these value will be 0-255
When i send 180 value serial monitor shows 255 and for any other value less than 180 serial monitor shows 254