Search found 1173 matches
- Fri Oct 27, 2006 5:50 pm
- Forum: Compiler
- Topic: a/d problem
- Replies: 20
- Views: 10153
If you plan to make changes to a compiler library, it's probably best to save in the 'UserLibrary' folder and rename the file. For example, xADC.bas or whatever. Then just include in your program using the new filename (you don't need to rename the actual module). This way, your code changes won't b...
- Thu Oct 26, 2006 6:24 pm
- Forum: Compiler
- Topic: a/d problem
- Replies: 20
- Views: 10153
Try setting the acquisition time...
The ADC module currently defaults to zero. Perhaps it should not. Any comments?...
Code: Select all
SetAcqTime(20)
while true
...
- Sun Oct 22, 2006 7:34 pm
- Forum: Compiler
- Topic: Clearing Structures
- Replies: 2
- Views: 2374
You can download the latest version of the compiler (1.2.0.2) from
http://www.sfcompiler.co.uk/swordfish/d ... index.html
which should fix the problem for you.
http://www.sfcompiler.co.uk/swordfish/d ... index.html
which should fix the problem for you.
- Mon Oct 16, 2006 9:39 am
- Forum: Compiler
- Topic: Char test reversed
- Replies: 3
- Views: 2665
> Just for additional information. This program works
> fine (Byte instead of Char)
There was a problem with the typecasting, which has now been fixed. You can download the latest version (1.2.0.1) from here...
http://www.sfcompiler.co.uk/swordfish/d ... index.html
> fine (Byte instead of Char)
There was a problem with the typecasting, which has now been fixed. You can download the latest version (1.2.0.1) from here...
http://www.sfcompiler.co.uk/swordfish/d ... index.html
- Sun Oct 15, 2006 11:54 am
- Forum: Modules
- Topic: Hardware PWM
- Replies: 7
- Views: 4957
I Have now but its specific to the 18f458, but thats not the point. I'm glad you have managed to put something together. As you say, the advantage of a high level language is that it makes it faster to develop software. Most if not all the 18f series have pwm included but the number and port locati...
- Wed Oct 11, 2006 3:48 pm
- Forum: User Modules
- Topic: Are all modules open?
- Replies: 2
- Views: 2925
- Wed Oct 11, 2006 3:42 pm
- Forum: Compiler
- Topic: Multiple (High and Low Priority) Interrupt Issues...
- Replies: 14
- Views: 6714
I've been thinking this one over and agree with Tim that 'saving everything' would be an extremely bad road to follow. However, I also have to agree with Steve that FSR0 and FSR1 should be saved automatically when performing a Save(0), as clearly these registers will be changed as part of the system...
- Tue Oct 10, 2006 7:30 pm
- Forum: Compiler
- Topic: Multiple (High and Low Priority) Interrupt Issues...
- Replies: 14
- Views: 6714
Now, any words about the context saving issue. Once I got both ISRs working, I tried adding SAVE(0)...RESTORE. This generated the same erratic operation, particularly garbage on the LCD, but also resetting the value of the numbers. I know that it is overkill for my ISRs, but I would like to get a b...
- Tue Oct 10, 2006 9:08 am
- Forum: Compiler
- Topic: Multiple (High and Low Priority) Interrupt Issues...
- Replies: 14
- Views: 6714
I've just taken a quick look at your program and there are a few things that you need to look at. As Darrel has already mentioned, you need to ensure that the IP of the interrupt matches the priority level of the ISR. You should also not clear and set any 'enable' flags from within your ISR. From th...
- Sat Oct 07, 2006 8:25 am
- Forum: User Modules
- Topic: Swordfish SED 1335 Module
- Replies: 20
- Views: 14575
Jacks module does not currently hook into the default Swordfish GLCD library. He wrote it before the main Swordfish GLCD module was conceived, so it is very much a stand alone implementation (which works very well). However, because it does not hook into the main GLCD module, you don't get features ...
- Fri Oct 06, 2006 7:48 pm
- Forum: User Modules
- Topic: Temperature Coversion Module
- Replies: 9
- Views: 6228
I see you have been busy playing with the wiki! I've approved the link to the image so you can take a look... If you think you will be using the wiki, I can add you to the list of people who have external link approval. Just email me with a preferred UserName and Password. You will appreciate that b...
- Fri Oct 06, 2006 7:41 pm
- Forum: Compiler
- Topic: Constant Array Max Size
- Replies: 2
- Views: 2250
- Fri Oct 06, 2006 6:12 pm
- Forum: User Modules
- Topic: Temperature Coversion Module
- Replies: 9
- Views: 6228
An overview of editing and creating pages can be found here http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=PmWiki.EditingOverview But if you want a quick guide, read on... Go to the WKI sandbox (practice area) http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=Main.WikiSandbox then select edit. At the bot...
- Fri Oct 06, 2006 2:57 pm
- Forum: User Modules
- Topic: Temperature Coversion Module
- Replies: 9
- Views: 6228
A great little module Darrel. Lite and well focussed... As Tim has already pointed out, please feel free to use the Swordfish Wiki to post code snippets, projects, modules etc. http://www.sfcompiler.co.uk/wiki One of the things I have noticed with other forums is that really useful bits of code (lik...
Thanks for the code. I have identified a problem with the compiler, which has now been fixed. It was caused by the line Case "HOME" LCD.WriteAt(1,1,"should home") ... this part of the case statement is always FALSE, as a single char (tempchar) can never be equal to a string ("HOME"). Removing the de...