Long variable to IOT Cloud


My question is simple, but I didn’t find any way or documentation on how to do it.
I want to use a counter of the type long integer as a cloud variable.
When you add a variable in your thing, you can choose many types but not long.
There is a variable type “custom type” however, and if you use that type, the declaration of that variable is added to your sketch as a type “ReplaceWithYourType” followed by your variable name, if you change “ReplaceWithYourType” to “long” in your sketch, your code is no longer compiled without errors.

Any help, tips or guidance to the right documentation?


1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.