multiplication problems
hello.
i have arduino uno platform, , surprisingly having problems simple operations multiplication.
the program should printing results of multiplication of factors , variables, , wrong, because prints value of variables , right, after operating print values doesn't make sense, of them enormous negative numbers when factors positive.
please answer me, beacause dont understand how can make mistakes in supposed simple part of code.
i have arduino uno platform, , surprisingly having problems simple operations multiplication.
the program should printing results of multiplication of factors , variables, , wrong, because prints value of variables , right, after operating print values doesn't make sense, of them enormous negative numbers when factors positive.
please answer me, beacause dont understand how can make mistakes in supposed simple part of code.
please post code. you overflowing maximum values different types of variables can hold.
use code tags when post program (the '#' button above row of smileys).
use code tags when post program (the '#' button above row of smileys).
Arduino Forum > Using Arduino > Programming Questions > multiplication problems
arduino
Comments
Post a Comment