Hello, I am a student who is working on a project.
When I try to run the application, the following error message appears : Segment: Start (1) + length (2) - 1 exceeds text length (0).
How can i solve this problem? I will attach my block. Thank you.![:slight_smile: :slight_smile:](https://community.appinventor.mit.edu/images/emoji/google/slight_smile.png?v=10)
Rx_data_check.Text is empty, but you want to get substring from 1-7?
![image](https://community.appinventor.mit.edu/uploads/default/original/3X/a/1/a138983c71e555012c4c3348c7e3225bb37197b5.png)
1 Like
Oh thank you for replying, Kevin Kun!!
We will get the sensor value of 1,3,5,7 through the arduino.
What should we do next? ![:frowning: :frowning:](https://community.appinventor.mit.edu/images/emoji/google/frowning.png?v=10)
make sure the text length is enough. if not, then do nothing
1 Like
May I ask you a few more questions?
- Why should I increase the length?
- What should I set the length to?
Thank you for helping us !
are you sure you have received data from BLE?
Have you seen the received data shown on a label or textbox?
Ok, I'll check the Arduino sensor again can I ask you another question next time ? ..![:slight_smile: :slight_smile:](https://community.appinventor.mit.edu/images/emoji/google/slight_smile.png?v=10)
Just post your question on community, and some one will help you.
But search the question/answer in the community first.