float32full
pilot00
Posts: 30
I am at my first attempt in using this application to do some math.
Does this work like this??(after declaring it as an obj)
repeat
number:=debug.getdec
math.sin(number)
answer:=math.sin(number)*2
debug.dec(answer)
waitcnt(clkfreq/10+cnt)
I just at this time want to see the sine or cosine on the serial terminal
to see if I am doing this right to later encorporate it in my application.
Thanks to all.
Does this work like this??(after declaring it as an obj)
repeat
number:=debug.getdec
math.sin(number)
answer:=math.sin(number)*2
debug.dec(answer)
waitcnt(clkfreq/10+cnt)
I just at this time want to see the sine or cosine on the serial terminal
to see if I am doing this right to later encorporate it in my application.
Thanks to all.
Comments
Note: mathstr is the FloatString object from the Object Exchange. You'll have to change this object to use float32full. There's a comment at the beginning that shows the simple change involved.