How do i make a numerical oscillator?

Animate[Sin,{x,0,2Pi}]

Why can’t I use the output from the code above as a Dynamic numerical value? Is there any other function like Animate, but that gives a pure integer output?

is there any other functions like animate but give pure integer
output?

I do not understand what you mean by giving pure integer output. If you want the x,y data, then the command to use is Table

data = Table[{x, Sin[x]}, {x, 0, 2 Pi, .1}];
ListPlot[data]

If you meant something else, may be you can clarify or give example of what you are looking for.

This will make the value of Sin[x] available outside of the Animate:

Dynamic[out]
Animate[out = Sin[x]; Sin[x], {x, 0, 2 Pi}]

That was exactly what i was looking for Hans Milton i tried things like

out=Animate[Sin[x],{x,0,2 Pi}]

but it didn’t seem to work , now i have all the control that i want over my Arduino