Lakshmi Ramakrishnan

unread,
Mar 15, 2017, 2:06:27 AM3/15/17
to MIT App Inventor Forum
Hey guys
I want the slider to range from 300 to 800 as that is the reading shown by my sensor but it shows bit error when I try to increase it beyond 255. Please help resolving this issue.
Screenshot_20170315-112407.png

Sivagiri

unread,
Mar 15, 2017, 8:09:02 AM3/15/17
to mitappinv...@googlegroups.com
It would  be really helpful if you added a screenshot of relavent blocks.

I think this is an error with Bluetooth  and not Slider

I'm guessing that you are trying to transfer data between the sensor and device using 
Bluetooth and using  the  ReceiveSigned1ByteNumber or Send1ByteNumber method

But one byte number can range only from 0 to 255. So try using 2ByteNumber methods or 4ByteNumber methods.

To learn more about 1 byte numbers use the Google search :

If you need more help please add a screenshot of relavant blocks.

Reply all
Reply to author
Forward
0 new messages