0

I'm working on a project where I use MIT app inventor's spinner to select some one of the numeric value like 250 ,1000.

I'm sending this value to firebase database and from that receiving it in nodemcu.

In Arduino IDE, if I accept this value as a string then Printing the value on serial monitor displays "250".

But I need this value as an integer. When I use toInt() it display 0.

I also tried to remove() method to remove that double quotes but steel it displayed 0. What should I do to get it as an integer?(using firebase.getInt also displayed 0).

Any solution related to MIT app inventor also appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.