Swordfish User Module Pack

Here's a list of commonly used Swordfish User Modules I tend to use. If you would like to add your own user module to the pack, please post a request in the forum!

 

save_f21 Download the User Module Pack: User Module Pack.zip

Name                          
Function Author                     
INTOSC8.bas Configure the internal oscillator to operate at 8Mhz. (Consider using AnydO's new and feature packed module instead!)
Graham Mitchell
INTOSCPLL.bas Configure the internal oscillator to operate at 32Mhz. (Consider using AnydO's new and feature packed module instead!) Graham Mitchell
DS1307.bas Real Time Clock (RTC) module based around the DS1307. David Barker and John Barrat
ExtEEPROM.bas Quick and easy interfacing with the 24LCXXX external EEPROMS. Graham Mitchell
IR_UART.bas Infrared modulated UART. Graham Mitchell
Keypad12.bas Module for use with 4*3 keypads. Graham Mitchell
Keypad16PullUp.bas Module for use with 4*4 keypads. Graham Mitchell
MinADtime.bas Set up the ADC for the minimum clock and acquisition time according to your selected clock frequency and analog impedance. Darrel Taylor
NMEA.bas A module that buffers NMEA data using a hardware interrupt. David Barker
PWM2.bas Plenty of PWM functionality. Warren Schroeder
RandGen.bas A simple Pseudo Random Number Generator module. Ahmed Lazreg
Sleep.bas Puts the PIC into a low power Sleep Mode with the following command: Sleep(pSeconds As Word).
Graham Mitchell
Servo.bas This module controls between 1 and 8 hobby servos connected to PortB. AndyO
SDFileSystem.bas This is an updated version of the SDFileSystem library module supplied with the compiler. It is now at Version 4.1.4. Make sure the old C:\ProgramData\Mecanique\Swordfish\Library\SDMMC files are removed! Steven Wright
InternalOscillator.bas Sets the CONFIG fuse and the OSCON register to the correct values to use the internal oscillator at the whichever clock speed you've declared in your main program. AnydO
MCP23S17_MULT.bas This module handles multiple MCP23S17 - 16 pins I/O port expander from Microchip. Ahmed Lazreg
. . .

 

Install Notes:

  • Windows 7 - Extract archive to (replace username with your own) C:\Users\USERNAME\Documents\Swordfish\UserLibrary
  • Windows XP - Extract archive to C:\Program Files\Mecanique\Swordfish\UserLibrary

 

Recent Updates

  • 26 Jun 10 - Added 18F25K20 to InternalOscillator.bas
  • 13 Jun 10 - Added more devices to InternalOscillator.bas
  • 23 Apr 10 - Added MCP23S17_MULT.bas
  • 12 Apr 10 - Added ExtEEPROM.bas
  • 05 Apr 10 - Added more devices to InternalOscillator.bas
  • 03 Apr 10 - Added InternalOscillator.bas
  • 29 Mar 10 - Pack created!
Keypad12
Tags: Module, Swordfish

Swordfish Compiler

Swordfish is a highly structured, modular compiler for the PIC18 family of PIC® microcontrollers. Swordfish is a true compiler that generates optimised, stand alone code which can be programmed directly into your microcontroller.

Get it today!