16/80 IoT MOOC Part I: Programming Example. Parsing Integer Numbers

So, in this third example, I’m going
to show you how parse integers so, whatever text we introduce on the console
will be interpreted as an integer and then, we will sum up one. So if
we switch to the console… The code has been already uploaded to
the board, so when I press the reset  and I introduce a
number, let’s say 10. Then, it answers back with 11. So
even if I introduce 12 and 15 it returns 13 and 16
numbers. Thank you.

Tags: , , , , , , , , , ,

There are no comments yet

Why not be the first

Leave a Reply

Your email address will not be published. Required fields are marked *