Search found 23 matches

by SteveB
Sat Nov 29, 2008 2:30 am
Forum: IDE
Topic: Vista installation
Replies: 9
Views: 6789

Update not working in Vista

David,
I am migrating to Vista, and all seemed OK with my SF installation, but now the update does not function correctly. It downloads and "installs", but then when it restarts, it says it needs to be updated again.

Do I need to get a new CD with a Vista compatibale version?

Thank you,
Steve
by SteveB
Sat Sep 22, 2007 4:15 am
Forum: Compiler
Topic: Send " to USART
Replies: 8
Views: 4404

Have you tried this?

Code: Select all

USART.Write(34)
SteveB
by SteveB
Mon Sep 10, 2007 12:58 am
Forum: Compiler
Topic: in circuit programmer
Replies: 10
Views: 5422

...i am still confused about the usb key. does this mean that a usb thumb drive or some sort of jump drive will be mailed with the installation cd that has a code on it? please explain. thanks. Yes, A small usb "thumb drive" like device acts as key for the software. Mine is blue, about 1 1/2 " long...
by SteveB
Sat Jun 23, 2007 2:47 am
Forum: Modules
Topic: SD Write advice please
Replies: 8
Views: 4920

How about making the array 129 bytes long? Byte 0 then contains the number of current valid data bytes in the rest of the array. Bytes 1-128 contain the data.

SteveB
by SteveB
Mon Jun 18, 2007 7:59 pm
Forum: IDE
Topic: Font converter not generating fixed width fonts
Replies: 7
Views: 5430

Octal,
The fact that you have taken on this project is worthy of thanks. I know for myself that I can be patient. Just knowing your still working on it helps.

Many thanks, in advance,
Steve
by SteveB
Sun Jun 10, 2007 8:04 pm
Forum: Modules
Topic: Software I2C
Replies: 6
Views: 4696

Something interesting I've come across playing with the above overloaded routines is the way the compiler handles Word and LongWord variables (vs. how it handles promotion of Byte arrays to Words and LongWords). It looks like Words and LongWords are stored LSB first. For example, If I store $0102030...
by SteveB
Sun Jun 10, 2007 2:40 am
Forum: Modules
Topic: Software I2C
Replies: 6
Views: 4696

Glad things worked out :D Now for something really cool about Swordfish, Overloading and Compounding.... 1. Save a copy of the SI2C.bas module to your "User Library" folder in the Swordfish installation folder. 2. Open this new copy and add the following code to the bottom of the file (under the Wri...
by SteveB
Sat Jun 09, 2007 5:44 pm
Forum: Modules
Topic: Software I2C
Replies: 6
Views: 4696

Re: Software I2C

Something else... // Initialise Sub InitStart() SetBaudrate(br9600) Address = 0 SI2C.Initialize 'adcon1=%1111 <<---------------- You need to make the pins digital End Sub Here you have your ADCON1 settings dim'ed out. Since your using PortA for your I2C lines, that's going to cause problems. SteveB
by SteveB
Sat Jun 09, 2007 5:32 pm
Forum: Modules
Topic: Software I2C
Replies: 6
Views: 4696

Re: Software I2C

One thing right off the top, put your #option lines BEFORE the include. The compiler only looks at the first declaration, and the others are ignored. Since the include files have "default" #option declarations, then those end up taking precedence. Look under "language Reference\Preprocessor" in the ...
by SteveB
Sat Jun 09, 2007 5:47 am
Forum: IDE
Topic: Font converter not generating fixed width fonts
Replies: 7
Views: 5430

Font converter not generating fixed width fonts

I haven't had any success getting the font converter plug-in to generate a fixed width font. Courier New, for example, still generates a variable width font. I just downloaded and installed the plug-in, so it should be the current version. I tried changing the first bytes in the font Const listings ...
by SteveB
Fri May 25, 2007 7:18 pm
Forum: Compiler
Topic: too many varialbles in SE edition?
Replies: 5
Views: 3672

The math, usart, and convert libraries all declare variables in addition to the ones you have declared. Additionally, any routines used in these files will also declare variables. Look at the "FloatToStr" function declaration. { ***********************************************************************...
by SteveB
Tue Apr 10, 2007 3:35 pm
Forum: Modules
Topic: SPI Module
Replies: 6
Views: 5387

Also...

I also have added the following, but this is just convience: Public Compound Sub SPIWrite(WriteByte) I eventually intend to Overload some of the routines to allow for Words, etc. to be used with the SPIWrite. But it may be a while, so nobody hold there breath waiting. I'll post it eventually when it...
by SteveB
Tue Apr 10, 2007 3:02 pm
Forum: Modules
Topic: SPI Module
Replies: 6
Views: 5387

No problem with me, I am just happy when I can contribute something useful.

SteveB

Edit: Made a silly comment, realized it afterward.
by SteveB
Tue Apr 10, 2007 2:59 pm
Forum: IDE
Topic: Changing Default folder for UserLibrary
Replies: 3
Views: 3621

I think I may not have explained well enough. Using the editor options, I can select the default folder that PBP opens to when opening project files. So I have placed a folder under "My Documents" which contains my project code. However, when modifying system modules, or creating my own, I need to p...
by SteveB
Sun Apr 08, 2007 8:35 pm
Forum: Modules
Topic: SPI Module
Replies: 6
Views: 5387

I was having some trouble with the SPI module as well. I am using an 18F2620, Silicon A4, and was getting some inconsistent reads/writes, especially when doing a lot of TX/RX one after another. After looking at the errata, I changed the ReadByte and WriteByte routines as follows... Public Function R...