Answer the question
In order to leave comments, you need to log in
How to define sawtooth function in lua?
There is a code in lua and there are variables Y and T in it, T - time, increases every tick when it reaches a certain threshold - resets to 0, I need a line like Y = a+(b*math.sin( T*c+ d)), only that when connected to a conditional oscilloscope, a sawtooth graph is drawn
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question