Quote:
|
Originally Posted by Dave Flowerday
In C (and C++), function calls are case sensitive. Change "Rand()" to "rand()" and you should be all set.
Whenever you need to call a function, you need to include the parentheses, even if there aren't any arguments. So your code should look like:
Code:
pwm01=pwm03=Random();
pwm02=pwm04=Random();
|

THANK YOU!! It compiles fine now.
P.S.- if you dig hard enough, there is an option in the compiler to turn off case-sensitivity

but that would be nonconforming

oh, well.