S Svejk Senior Member Aug 20, 2009 #1 I would like to know a way to change the lookup values preloaded for sin and cos, if is possible. ie b1 = sin 90 returns 99 instead of 100 and I would like to insert the correct value. Thanks, Svejk
I would like to know a way to change the lookup values preloaded for sin and cos, if is possible. ie b1 = sin 90 returns 99 instead of 100 and I would like to insert the correct value. Thanks, Svejk
E eclectic Moderator Aug 20, 2009 #2 Svejk said: I would like to know a way to change the lookup values preloaded for sin and cos, if is possible. ie b1 = sin 90 returns 99 instead of 100 and I would like to insert the correct value. Thanks, Svejk Click to expand... Simulation or real? e Attachments SineSIM.jpg 27.9 KB Views: 17 SinePROG.jpg 23.6 KB Views: 19
Svejk said: I would like to know a way to change the lookup values preloaded for sin and cos, if is possible. ie b1 = sin 90 returns 99 instead of 100 and I would like to insert the correct value. Thanks, Svejk Click to expand... Simulation or real? e
Technical Technical Support Staff member Aug 20, 2009 #3 The table is fixed in the PICAXE bootstrap and cannot be altered. The real chip will give you 100, looks like we need to tweak the computer simulation rounding to match!
The table is fixed in the PICAXE bootstrap and cannot be altered. The real chip will give you 100, looks like we need to tweak the computer simulation rounding to match!
S Svejk Senior Member Aug 21, 2009 #4 Thanks guys, I've used simulation before I start to build anything.