Search found 169 matches

by bitfogav
Wed Jan 18, 2012 6:23 pm
Forum: IDE
Topic: Library Explorer plugin still work?
Replies: 26
Views: 19498

Very Strange ? :roll:
by bitfogav
Wed Jan 18, 2012 6:03 pm
Forum: IDE
Topic: Library Explorer plugin still work?
Replies: 26
Views: 19498

Hi Jerry, Ive click on the User tab and it lists all the Folders in my User Library. doesn't list any .bas file though, just the Folders?.
by bitfogav
Mon Jan 16, 2012 6:01 pm
Forum: Compiler
Topic: Dongle still needed?
Replies: 7
Views: 3952

Yes thats true the Dongle was deleted a few version back now, Have you tried un-installing SF and re-installing SF from the new electronic download. Download = http://www.mecanique-web.co.uk/downloads/swordfish-si.exe - Then enter your product installation key!. Note, you might not need to but make ...
by bitfogav
Wed Dec 28, 2011 4:43 pm
Forum: Compiler
Topic: Bug with SwordfishSE PIC18F46K22? (works with PICBASIC PRO)
Replies: 15
Views: 14108

Sorry about the switch confusion. They are on/off switches not momentary push button switches. I think I see where the problem is now I know how you've connected your switches, I changed the while loop with a If statement because thats where I thought one if your issues was, im sure if you changed ...
by bitfogav
Wed Dec 28, 2011 12:16 pm
Forum: Compiler
Topic: Bug with SwordfishSE PIC18F46K22? (works with PICBASIC PRO)
Replies: 15
Views: 14108

Your switches in your diagram are also wrongly connected then, when you press any switch, the switches are connected to GND so this makes the input a logic 0, but your actually testing the input for logic 1 when any of the switches are pressed?. Anyway as for the compiler being updated then David wi...
by bitfogav
Wed Dec 28, 2011 11:28 am
Forum: IDE
Topic: 18F2550 SD/MMC
Replies: 5
Views: 7484

Just to make it more clear, here is the modified circuit I put together for the PIC 18F2550
http://digital-diy.com/forum/download/file.php?id=1890
by bitfogav
Wed Dec 28, 2011 3:13 am
Forum: IDE
Topic: 18F2550 SD/MMC
Replies: 5
Views: 7484

You need to make sure that your circuit is something like this below (follow link below), dont forget the pull-up resistor 10k on the SD DO pin but you really should use a 3V3 -> 5V level shifter.. make sure the pins are setup like this: SD_CS = PORTC.2 SD_DI = PORTC.7 SD_CLK = PORTB.1 SD_DO = PORTB...
by bitfogav
Wed Dec 28, 2011 2:38 am
Forum: Compiler
Topic: Bug with SwordfishSE PIC18F46K22? (works with PICBASIC PRO)
Replies: 15
Views: 14108

Thanks for pointing that out Jerry. :)

So your code for reading the switches should be:

Code: Select all

  If SW1 = 0 Or SW2 = 0 Then     
       Toggle (Buzzer) 
       DelayUS (600) 
  EndIf 
by bitfogav
Tue Dec 27, 2011 11:58 pm
Forum: Compiler
Topic: Bug with SwordfishSE PIC18F46K22? (works with PICBASIC PRO)
Replies: 15
Views: 14108

If you are using the SE version of Swordfish then you will have to use the "setdigitalio.bas" to setup the 18F46K22 PORTS correctly, since SE does not contain code to set the bank select register. So since SE does not contain code to set the bank select register, setting "#option SWORDFISH_SE = true...
by bitfogav
Tue Dec 27, 2011 11:44 am
Forum: IDE
Topic: 18F2550 SD/MMC
Replies: 5
Views: 7484

So have you got it working with a 18F452?.

Could you post your code for the 18F2550 and maybe we could work with that, to see where the problem is?.
by bitfogav
Mon Dec 19, 2011 9:44 pm
Forum: Compiler
Topic: public macro scope, and visibility
Replies: 5
Views: 3969

Thanks for explaining all that Jerry, makes more sense now :)
by bitfogav
Sat Dec 17, 2011 1:59 pm
Forum: Compiler
Topic: public macro scope, and visibility
Replies: 5
Views: 3969

Im also a little unclear on the scoping and usage of macros with the SF Compiler, would someone mind explaning how/why we would use a macro with the SF Compiler? :)
by bitfogav
Sat Dec 10, 2011 10:59 am
Forum: Modules
Topic: SDFileSystem
Replies: 7
Views: 4832

The lastest version of SF comes with version 4.1.4 of the SDFileSystem.bas Module, so yes thats the latest version you have. :) If you dont set the #option or for example "#option SD_SPI_SPEED = spiOscDiv16 " in your main code, then the Module (SDFileSystem.bas) will take care of that for you by set...
by bitfogav
Wed Oct 12, 2011 4:38 pm
Forum: User Modules
Topic: Composite USB device support
Replies: 9
Views: 5517

You have my interest into the composite device and Mass Storage Driver.

Really appreciate all that you do Jerry :)
by bitfogav
Sat Sep 17, 2011 1:49 pm
Forum: Compiler
Topic: Interrupt on change help
Replies: 6
Views: 3433

This may also be helpful.. with Swordfish code samples

AndyO used PortB.0 as an external interrupt for his Scroll-Wheel Switch.

http://digital-diy.com/Swordfish-Code-E ... witch.html