Search found 401 matches

by Steven
Mon May 11, 2009 6:20 am
Forum: Compiler
Topic: My first project with swordfish!!!
Replies: 27
Views: 12795

OK, one difference bwtween VB.Net and Swordfish regarding If-EndIf: In VB.Net: If c > 256 Then c = c - 256 You can string the code straight after the 'Then' and you don't need an EndIf. In Swordfish: If c > 256 Then c = c - 256 EndIf or If c > 256 Then c = c - 256 EndIf I prefer the second version a...
by Steven
Sun May 10, 2009 3:02 pm
Forum: Compiler
Topic: My first project with swordfish!!!
Replies: 27
Views: 12795

There are several things that I can see. First, the following seems wrong: While i < (l - 1) c = b(i) + c If c > 256 Then c = c - 256 i = i + 1 Endif Wend If you dry run it with the values you have already set, for i=0, c will be incremented by 80 each time, until it is greater than 256, when i will...
by Steven
Sun May 10, 2009 1:00 pm
Forum: Compiler
Topic: 18F26K20 System File
Replies: 2
Views: 2431

They are available for download from here http://www.sfcompiler.co.uk/wiki/pmwiki ... ionHistory.
by Steven
Sun May 03, 2009 4:41 pm
Forum: Compiler
Topic: help
Replies: 7
Views: 3985

I think you want USART.Write, rather than USART.Writebyte.
by Steven
Sat May 02, 2009 7:42 am
Forum: Compiler
Topic: Not enough parameters
Replies: 3
Views: 2443

Are you trying to write 'direction' to the USART (in which case you need USART.Write(DecToStr(direction),13) if you are trying to send direction as a string, followed by 13), or are you trying to read from it?
by Steven
Sun Apr 26, 2009 12:29 pm
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38488

Thanks very much RD. That's very helpful and I appreciate the careful results that you have posted. I'll have to get a K series PIC to try.
by Steven
Sat Apr 25, 2009 6:22 am
Forum: User Modules
Topic: 18F26K20 SD Testing
Replies: 55
Views: 38488

Hi RD, Thanks for that. I'd be interested to know what speeds you can reach with the PIC running at 64MHz, with the MSSP at spiOscDiv4. If you get the chance to try the following benchmark code, I'd be interested to hear your results. Kind regards, Steve { *******************************************...
by Steven
Fri Apr 03, 2009 3:20 pm
Forum: General
Topic: PRe Sales Question
Replies: 6
Views: 4196

I might be biased here, but I have to agree - it's all too easy..! It makes programming in SF very enjoyable.
by Steven
Fri Mar 27, 2009 11:49 pm
Forum: General
Topic: Details of featured product for Mecanique website
Replies: 6
Views: 4439

I've pm'ed you my email.
by Steven
Thu Mar 26, 2009 6:15 pm
Forum: General
Topic: Details of featured product for Mecanique website
Replies: 6
Views: 4439

The featured products section of the wiki is editable by all users, so I would think that it will be OK if you add your product to this page yourself, unless Dave says otherwise. If you want, you can email me a photo and I'll upload it to the wiki server for you so that you can include it without ha...
by Steven
Mon Mar 16, 2009 1:05 am
Forum: Compiler
Topic: Help with Converting Number to string!
Replies: 4
Views: 2872

Hello and welcome to the forum. You need to use FloatToStr instead of DecToStr - you will find the full info in the Conversion library section of the help file.
by Steven
Sun Mar 01, 2009 8:28 am
Forum: Wiki Announcements
Topic: SDFileSystem Version 4.0.9
Replies: 32
Views: 57683

Hi again, I've now tried compiling your example and it works OK for me, even with the SD code uncommented. Are you using the latest version of the SD module from the wiki ( http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.SDFileSystemVersion )? You will need to place this in the Swordfish...
by Steven
Sat Feb 28, 2009 9:24 am
Forum: Wiki Announcements
Topic: SDFileSystem Version 4.0.9
Replies: 32
Views: 57683

Hello mikeedavila and welcome to the forum. I've not got my usb key with me at the moment, but I'll try and look at it later in the day for you.
by Steven
Thu Feb 26, 2009 5:05 pm
Forum: General
Topic: Hello! Is everyone alright?
Replies: 7
Views: 4885

I'm OK thanks... still here, although quite busy at the moment, so quiet on the PIC front. :)
by Steven
Sun Feb 08, 2009 9:39 am
Forum: User Modules
Topic: Finding location of first cluster of file on SDCard
Replies: 7
Views: 5577

That's great news - sorry I forgot to reply to your previous post.