Problem with long value in Arduino
In Arduino, I want to save a long value in multiplying view, but as an output, I receive smaller value than it should be. It seems that it limits as int value, but before I defined it as long. What do I do wrong?
In Arduino, I want to save a long value in multiplying view, but as an output, I receive smaller value than it should be. It seems that it limits as int value, but before I defined it as long. What do I do wrong?
Hi Zuska, You should write (long) before expression or write 'l' before multipliers.
Just drop us an email to ... Show more