Main Site Documentation

System.ArgumentException being thrown. Why?


#1

EDIT: Nevermind, I had a rouge line of code that was causing issues.
:expressionless:


#2

Check teh value returned from your map function. Maybe ti returning a negative value?

Put the return in a variable to you can view it in the debugged before sending it to the SetPulse


#3

Yeah, somehow a “* -1” got in there and I didn’t see it.

On a side note, I’ll be releasing a servo class later today if anybody wants it.


#4

You can add it to the wiki :wink:
We will have a wiki very soon :smiley: