Search found 8 matches

by Mr_Simplicity
Thu Mar 07, 2013 2:00 am
Forum: Software issues
Topic: Timer Interrupt spits out a decimal point
Replies: 4
Views: 17316

Re: Timer Interrupt spits out a decimal point

That's what it was. no more ........s on interrupt.

Thanks for the help.
by Mr_Simplicity
Tue Mar 05, 2013 1:53 am
Forum: Software issues
Topic: Timer Interrupt spits out a decimal point
Replies: 4
Views: 17316

Re: Timer Interrupt spits out a decimal point

ARMbasic 8.17a
BASICtools 5.16
ARMbasic Kernel[8.12] with Floating Point
by Mr_Simplicity
Sun Mar 03, 2013 3:58 pm
Forum: Software issues
Topic: Timer Interrupt spits out a decimal point
Replies: 4
Views: 17316

Timer Interrupt spits out a decimal point

Why am I getting a decimal point printed for every interrupt? I don't even have a print statement. Is there some debug code doing this? #include "LPC17xx.bas" Dim Every_x_ms as integer SUB ON_TIMER ( msec, dothis ) ' TIMER1_ISR = dothis + 1 ' set function of VIC VICIntEnable = VICIntEnable or (1<<2)...
by Mr_Simplicity
Mon Feb 18, 2013 8:33 pm
Forum: Software issues
Topic: BASICtools idea.
Replies: 5
Views: 22516

Re: BASICtools idea.

Yea. I had a go at editing TclTerm.tcl and sure enough it wasn't hard to add a "Reload" button. While I was at it I added an "Editor" button as well. Works great! I've included the TclTerm.tcl file. Just compile as in "Freewrap.exe TclTerm.tcl" and replace the TclTerm.exe in your Coridium Folder wit...
by Mr_Simplicity
Mon Feb 18, 2013 4:57 pm
Forum: Software issues
Topic: BASICtools idea.
Replies: 5
Views: 22516

Re: BASICtools idea.

No no. I meant like the "Run" "Stop" "Clear" "Reset" push buttons. If there was also a "Reload" button the whole development cycle is covered. As in "Run". Ahh I see! Need to change blah blah. "Stop". Click on editor, make change, Save. Click on BASICtools. Hit "Reload" watch compile & download. Cli...
by Mr_Simplicity
Mon Feb 18, 2013 1:48 pm
Forum: Software issues
Topic: printf is spitting out random decimal points
Replies: 3
Views: 14669

Re: printf is spitting out random decimal points

Yea. I did actually declare x a SINGLE just didn't show all of the program. It turns out to be the Timer Interrupt that I also had running that causes the extra decimal points, one per interrupt. I'm not printing these decimal points. Whats going on? I don't know. Here's all the code. #include "LPC1...
by Mr_Simplicity
Sun Feb 17, 2013 5:41 pm
Forum: Software issues
Topic: BASICtools idea.
Replies: 5
Views: 22516

BASICtools idea.

I'm a very mouse oriented programmer as opposed to using keyboard commands. I'd love to have a reload file button so I don't have to use the menu. By the way, I just finished a fuel pressure regulator program using a PID algorithm and hardware PWM. The program talks via the serial port to a LabView ...
by Mr_Simplicity
Sun Feb 17, 2013 5:24 pm
Forum: Software issues
Topic: printf is spitting out random decimal points
Replies: 3
Views: 14669

printf is spitting out random decimal points

This code: main: PRINT "Starting..." WHILE (1) For x = 0.0 to 10.0 step 0.100 PRINTF ("%1.4f", x) WAIT(100) Next x LOOP END Outputs: Welcome to ARMbasic Kernel[8.12] with Floating Point Copyright 2012, Coridium Corp. for the SuperPro Starting... 0.0000 . 0.1000 . 0.2000 . 0.3000 . 0.4000 . 0.5000 . ...