Search found 46 matches

by blueroomelectronics
Fri Sep 04, 2009 6:34 pm
Forum: Modules
Topic: SI2C Slave how to ?
Replies: 18
Views: 13022

I'll look forward to it Octal, thanks.
by blueroomelectronics
Mon Aug 31, 2009 1:42 pm
Forum: Modules
Topic: SI2C Slave how to ?
Replies: 18
Views: 13022

it may be helpfull... Since the time I posted this thread first, I wrote a whole module for I2C Slave. I have a fully working I2C Slave module (hardware module) for Swordfish (using interrupts). I'm in a move. I'll post it once I got my sources under hand. Regards octal Has it been posted somewhere?
by blueroomelectronics
Tue Aug 25, 2009 5:53 pm
Forum: User Modules
Topic: 18F97J60 Ethernet Module on a 18F87J60
Replies: 3
Views: 6421

You need a router.
by blueroomelectronics
Tue Aug 25, 2009 5:51 pm
Forum: Compiler
Topic: PIC18F542 With LEDs help request.
Replies: 1
Views: 2117

Do you want to convert your C code to Swordfish BASIC?
by blueroomelectronics
Fri Jan 23, 2009 5:25 pm
Forum: IDE
Topic: Bootloader for 18F2320 8Mhz internal osc
Replies: 3
Views: 3875

Good programmers are dirt cheap, the PICkit2 is less than $50
Bootloaders are often a pain and offer no debug either.
by blueroomelectronics
Tue Dec 16, 2008 6:27 pm
Forum: General
Topic: Software UART (receive only) for GPS, which pin?
Replies: 0
Views: 3160

Software UART (receive only) for GPS, which pin?

I've got the EUSARTS tied up for other things and I only need a single I/O pin with a 22K resistor to receive GPS NMEA data at 4800bps. Although any I/O pin would work the question is would there be less software overhead to use a pin like INT0 for an interrupt driven UART or just poll the pin with ...
by blueroomelectronics
Tue Dec 09, 2008 4:40 pm
Forum: IDE
Topic: Conflicts between SFcompiler 2.1.0.1 and MPLAB IDE v8.10
Replies: 19
Views: 18081

I've upgraded to MPLAB 8.15a and the latest Swordfish SE 2.1.0.1 and now I get this error when I compile in MPLAB. Clean: Deleting intermediary and output files. Clean: Done. Executing: "C:\Mecanique\SwordfishSE\SESwordfish.exe" PumpMPLAB.bas -p18F1320 Swordfish BASIC Compiler (SE) 2.1.0.1 Copyright...
by blueroomelectronics
Wed Oct 22, 2008 7:21 pm
Forum: IDE
Topic: Conflicts between SFcompiler 2.1.0.1 and MPLAB IDE v8.10
Replies: 19
Views: 18081

I'm getting the same error.
One thing I find helps is don't use spaces in the project directory name or program name.
by blueroomelectronics
Thu Jul 17, 2008 2:06 am
Forum: Compiler
Topic: 18F2520 - blinking led
Replies: 10
Views: 5649

You'll also need to turn the WDT off (WDT = OFF) in the CONFIG line.

Your program should work fine.
by blueroomelectronics
Wed Jul 16, 2008 3:05 am
Forum: Compiler
Topic: 18F2520 - blinking led
Replies: 10
Views: 5649

I use
OSCCON = $72 // 8MHz
works like a charm
by blueroomelectronics
Sat Jul 05, 2008 1:57 pm
Forum: Compiler
Topic: No spaces allowed in the filename when using MPLAB
Replies: 0
Views: 2677

No spaces allowed in the filename when using MPLAB

Just a heads up, I've been using MPLAB & Swordfish and it works like a charm. I initially it wouldn't compile as I was putting spaces in my source file names. Switched to underscore and all is well. Ability to debug is a really nice addition to your already excellent compiler. PS Thank you David for...
by blueroomelectronics
Sat Jun 28, 2008 4:20 am
Forum: General
Topic: MPLAB ICD2 Problem
Replies: 11
Views: 8293

I tried the debugger but get this error
The language-tool suite "Swordfish BASIC Compiler" does not appear to have a linker.
by blueroomelectronics
Wed Jun 25, 2008 6:23 am
Forum: Compiler
Topic: Constants with hex numbers?
Replies: 1
Views: 2006

Constants with hex numbers?

The following code works great but how would I convert those values to a constant? Doe's it have to be an array?

Code: Select all

Write(#02, #01, #00, #00, #00, #03)
Also is there anyway to append a string constant

eg

Code: Select all

Const Goober = "(ABCD)" , #13
by blueroomelectronics
Sat Jun 21, 2008 4:44 am
Forum: User Modules
Topic: Random module for dice rolls?
Replies: 5
Views: 4576

Thanks all, I wrote a simple program to simulate 50,000 six sided dice (2d6) rolls. I noticed you need RandGen.SetRndMax(6) to get 0-5 though. Device = 18F1320 Clock = 8 Config OSC = INTIO2, WDT = OFF, LVP = OFF Include "usart.bas" Include "convert.bas" Include "RandGen.bas" Const TotalRolls = 50000...
by blueroomelectronics
Mon Jun 16, 2008 7:31 pm
Forum: Compiler
Topic: Using Swordfish and the PICkit 2 command line.
Replies: 2
Views: 3109

Thanks Mark, I'll try those out. I've got a 2 second delay H2 for successful program. I'll put the +5 target power stuff in the Junebug assembly manual.