The operation cannot accept the arguments:

yes might be causing the error, that's why I asked to print what is having at run time.

1 Like

Что вам нужно отправить? скриншот?

You can try to hard code the value of global zxc with some value 300 or more, what you like to receive from Arduino.

That's what seems to be happening at the moment, indicated by the brackets appearing from the input:

1 Like

Может быть от Ардуино отправлять переменную типа БАЙТ?

As @RamNaresh has stated, why don't you create a label and set the label's text to your input? From there, you could send a screenshot. Maybe this could help.

1 Like

Нет. Я имею ввиду в Arduino преобразовать в Byte, Отправить по Блютуз и уже в приложении расшифровать?

Вы предлагаете через разделитель отправлять СТРОКУ и здесь ее сравнивать?

Я думаю следующее. Может быть TIMER приложения и таймер отправки в Arduino не синхронизируются.Например в Arduino установить таймер 2 секунды,а в приложении по умолчанию 1 секунда. Наверное в момент сравнения не все число приходит на телефон.

Посмотрите. На этой картинке это видно. Но как их синхронизировать?

Нет. Я ошибаюсь. Когда приходит "0" - тоже ошибки

Don't know more about the Arduino Sketch you are using here, but as here you are showing that your required 300 is with some extra information as well, for a workaround you can extract the this required parameter from this red circle text line.

1 Like

Exactly. You can filter this out on both sides of the code.

Нет не содержит. Просто в Ардуино сейчас значение "1850" это счетчик. Я могу его сбросить

Не понимаю. Что можно извлечь из приходящего числа числа? Вы говорите о конвертации типов?

All you'd have to do is take the 2nd part of the input then.
Edit: Ok, I made it sound easy but it isn't
Edit 2: You know what? Never mind. It is kinda easy.

Это нужно сделать на Ардуино или в APP?

This answer is incorrect, refer to Post 48 please.

1 Like

You Arduino Sketch must be providing values what you are expecting at the App Inventor Side because if you do some workaround that might work for now and at some different stage you Arduino start sending some different combination in result to App. So best to figure out the bug at Arduino settings.

1 Like