Search found 5 matches
- Wed Jan 28, 2015 7:37 pm
- Forum: Software issues
- Topic: Trig functions on LPC812
- Replies: 6
- Views: 17546
Trig functions on LPC812
Thanks Bruce. Just to be sure. '=== Workaround to use sine function (library AB_Math.bas being too big for the memory of the LPC812 eval board): '=== '=== 1) Do not include AB_Math.bas '=== 2) Only include the code between the dashed lines to your program: '=== The code is taken straight from AB_Mat...
- Wed Jan 28, 2015 2:29 pm
- Forum: Software issues
- Topic: Trig functions on LPC812
- Replies: 6
- Views: 17546
Trig functions on LPC812
It works. No code of myself, just the right lines from AB-Math.bas. I would be happy to share them but i am unsure of the policy of Coridium on possible copyright issues. But if you start with these lines and the code for sin(x), the compiler will tell you the 2 or 3 other functions you need. 3 minu...
- Mon Jan 26, 2015 12:49 pm
- Forum: Software issues
- Topic: Trig functions on LPC812
- Replies: 6
- Views: 17546
Trig functions on LPC812
@basicchip
Thank you for your quick reaction. Now I understand the problem I could solve it by only copying the sin(x) code from the library directly in my code. The compiler told me the other things I had to copy from the library and now I have a working sin(x) function !
Thank you for your quick reaction. Now I understand the problem I could solve it by only copying the sin(x) code from the library directly in my code. The compiler told me the other things I had to copy from the library and now I have a working sin(x) function !
- Sun Jan 25, 2015 1:36 pm
- Forum: Software issues
- Topic: Trig functions on LPC812
- Replies: 6
- Views: 17546
Trig functions on LPC812
I need a sin(x) function and found one in the ARMBasic manual. However the example there does not compile on my LPC812 eval board. 'example code from: ARMBasic.pdf : Runtime Library / Floating Point Functions/ trig Functions (page 214) #define include_trig #include <AB_Math.bas> for i=0 to 90 step 1...
- Thu Jan 22, 2015 2:48 pm
- Forum: Your first forum
- Topic: Running BASICtools.exe under linux/unix Wine (lpc812 eval board)
- Replies: 2
- Views: 31610
Running BASICtools.exe under linux/unix Wine (lpc812 eval board)
BASICtools.exe runs perfect under Wine ! However I needed a small hack to make it recognize the serial port on startup. 1) make a textfile, say “wine-serial.reg”, with the following contents: REGEDIT4 [HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM] "COM1"="COM1" 2) make a script, say “startBASICt...