Text box showing "Bad argument"

I encountered a problem while receiving data on the application. There is a text box showingCapture4

Capture2 Capture1 Capture

Hello firnnang

That’s actually a Message Box, not a Text Box.

I can’t see the cause of the error from your blocks, but it’s mostly likely when Canvas y2 is assigned with the value received via Bluetooth. I suggest you send that value to a label to see if it is as you expect.

Also, ensure that your process is not trying to run too fast. The BLE device send must not be faster than the App’s receive + process.

byteValues is a list.

So don’t set Y to byteValues and expect it to act like a number.

Select item 1 from byteValues.

1 Like

3 posts were split to a new topic: Comparing a piece of text to a number?