Search found 1197 matches

by David Barker
Sat Nov 04, 2006 10:38 am
Forum: Compiler
Topic: Questions before I buy Swordfish Compiler
Replies: 2
Views: 3078

> please would someone explane, how it will go on with > the compiler when I bought some? What are the update > conditions? Online updates will be provided via the IDE. There will be no charge for this. > Is it possible to get special offers like price reductions? Not sure what you mean, can you giv...
by David Barker
Thu Nov 02, 2006 8:02 pm
Forum: User Modules
Topic: Swordfish SED1520 Module
Replies: 12
Views: 8094

That's really generous Steve. If I can help out, let me know...
by David Barker
Thu Nov 02, 2006 7:29 pm
Forum: Compiler
Topic: Problems with the examples
Replies: 11
Views: 8541

> after I downloaded the 1.2.0.7 the compiler works. Thanks for letting me know... > But I have spend a lo of money for other Compilers > so that I'm not willing to spend again money for a > compiler wich didn't solve my problems at this time. I'll > follow the evolution and then we will see! I can ...
by David Barker
Thu Nov 02, 2006 7:09 pm
Forum: User Modules
Topic: Swordfish SED1520 Module
Replies: 12
Views: 8094

> because most of the samples won't compile or
> will compile with a lot of mistakes, so I can't test/learn anything.

Did you download the latest version of the compiler? Did it work OK?
by David Barker
Thu Nov 02, 2006 6:26 pm
Forum: Compiler
Topic: Problems with the examples
Replies: 11
Views: 8541

Are you using the latest version of the compiler? Make sure you have 1.2.0.7, available from here http://www.sfcompiler.co.uk/swordfish/download/index.html If you are using an earlier version, I would suggest you download the above and install. You won't need to remove the previous version. Let me k...
by David Barker
Thu Nov 02, 2006 9:56 am
Forum: User Modules
Topic: Swordfish SED1520 Module
Replies: 12
Views: 8094

There currently isn't a library supplied with Swordfish for this device. However, I don't think it would be too difficult at all to write one. There are some useful resources on the internet which would make extremely good starting points for a Swordfish conversion. The first one is PBP based, writt...
by David Barker
Mon Oct 30, 2006 8:04 pm
Forum: Compiler
Topic: 18F1320 and Math routines
Replies: 3
Views: 3891

The SE version will handle floating point, even on a 18F1320. The routine that's using most of the RAM resources is FloatToStr(). It has to do a lot of work in order to convert the FP number into a string. Take a look at the module implementation to see what I mean. If you remove the line that perfo...
by David Barker
Sun Oct 29, 2006 4:53 pm
Forum: Compiler
Topic: a/d problem
Replies: 20
Views: 13352

> I don't know if it's worth putting in the Wiki or not?

Yes, why not - it will be easier for people to find...
by David Barker
Fri Oct 27, 2006 8:32 pm
Forum: Compiler
Topic: Fuse Settings
Replies: 2
Views: 3161

The documentation on this is a little lacking. I will try and get something on the wiki soon. Anyway, here is a crash course... A useful technique to see what fuse settings are available for your particular device is to open the swordfish device system file. For example, if your program has device =...
by David Barker
Fri Oct 27, 2006 5:50 pm
Forum: Compiler
Topic: a/d problem
Replies: 20
Views: 13352

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...
by David Barker
Thu Oct 26, 2006 6:24 pm
Forum: Compiler
Topic: a/d problem
Replies: 20
Views: 13352

Try setting the acquisition time...

Code: Select all

   SetAcqTime(20)
   while true
      ...
The ADC module currently defaults to zero. Perhaps it should not. Any comments?...
by David Barker
Sun Oct 22, 2006 7:34 pm
Forum: Compiler
Topic: Clearing Structures
Replies: 2
Views: 3017

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.
by David Barker
Mon Oct 16, 2006 9:39 am
Forum: Compiler
Topic: Char test reversed
Replies: 3
Views: 3378

> 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
by David Barker
Sun Oct 15, 2006 11:54 am
Forum: Modules
Topic: Hardware PWM
Replies: 7
Views: 6199

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...
by David Barker
Wed Oct 11, 2006 3:48 pm
Forum: User Modules
Topic: Are all modules open?
Replies: 2
Views: 3785

There option to generate a 'non-readable' binary module is still there, I just didn't have time to give it a thorough testing - so I pulled it from the release version.