Search found 362 matches
- Tue Jun 02, 2009 12:33 pm
- Forum: Modules
- Topic: USART.WaitFor Question
- Replies: 6
- Views: 5033
The buffer will stop receiving data if you do not read from the buffer. The posts above tell you how to clear the buffer before you start to receive data and be sure that both bytes are empty. Program test_SERIAL 'device=18F4620<<<< place your device here Clock=8 Include "usart.bas" Dim test_string ...
- Mon May 25, 2009 5:23 pm
- Forum: Compiler
- Topic: Project too complex for the compiler?
- Replies: 12
- Views: 6776
Hello liak, The solution is in the text. I have found the need for a "GLOBAL" INCLUDE that is part of every module and it contains any routine that is used by modules that call routines in each other. It is quite hard to explain but really is not that likely to happen. I no longer have any issue of ...
- Sat May 23, 2009 9:11 pm
- Forum: Compiler
- Topic: Project too complex for the compiler?
- Replies: 12
- Views: 6776
- Sat May 23, 2009 1:56 pm
- Forum: Compiler
- Topic: My first project with swordfish!!!
- Replies: 27
- Views: 12803
To use the internal oscillator in a real piece of hardware (the only real test) the OSCCON register will need bits 4,5 and 6 setting for 8MHz. When you use the "clock" in Swordfish it does NOT do anything to the PIC chip, no registers are altered in the PIC, it is purely to tell the compiler what it...
- Fri May 22, 2009 11:07 pm
- Forum: Compiler
- Topic: My first project with swordfish!!!
- Replies: 27
- Views: 12803
I use internal oscillator always for serial data but I never use more than 19200 baud so it is no problem. If you use higher speed then you could easily be asking for trouble. I would make it much slower to start with, say 9600/19200 for the tests, in a noisy environment like a car the slower the be...
- Fri May 22, 2009 7:59 pm
- Forum: Compiler
- Topic: My first project with swordfish!!!
- Replies: 27
- Views: 12803
psyche you should read the help file. It tells you exactly how to use a for next loop. for variable = expression to expression [step expression] {statements} next The for…next loop will execute one or more statements a predetermined number of times. Unlike while…wend or repeat…until loops, the for…n...
- Wed May 20, 2009 8:35 am
- Forum: Modules
- Topic: Starting with SPI. Need some help!
- Replies: 2
- Views: 2786
Hello Francesco, in my own experience SPI is more about the hardware interface rather than the code to drive it. Having used SPI on many devices I have found that you need to pick the device you want to use then get to grips with its own requirements. Memory devices tend to have similarities between...
- Tue May 19, 2009 9:15 am
- Forum: Compiler
- Topic: 18F46K20.bas
- Replies: 2
- Views: 2311
- Mon May 18, 2009 9:48 pm
- Forum: Compiler
- Topic: 18F46K20.bas
- Replies: 2
- Views: 2311
18F46K20.bas
I have a little issuette with regards to the amount of EEPROM available in a device, I am currently using the 46K20 but have a program that might work with a different device with lower amounts of EEPROM. I had hoped to use _eeprom from the 18F46K20.bas as the indicator but it is not recognised as a...
- Mon May 18, 2009 12:44 am
- Forum: General
- Topic: Writing own bootloader
- Replies: 5
- Views: 4345
- Tue May 12, 2009 4:04 pm
- Forum: General
- Topic: Writing own bootloader
- Replies: 5
- Views: 4345
- Mon May 11, 2009 11:24 pm
- Forum: User Modules
- Topic: 18F26K20 SD Testing
- Replies: 55
- Views: 38532
It is NOT A COMPILER ISSUE. If you take a good look at the thread you will see the issue lies at Microchips door. The configuration files are generated automatically using Microchip information which for some unknown reason has been published incorrectly in this instance (copied no doubt from a prev...
- Mon May 11, 2009 8:11 pm
- Forum: User Modules
- Topic: 18F26K20 SD Testing
- Replies: 55
- Views: 38532
Take a look at my thread to see if this solves the issue.
http://www.sfcompiler.co.uk/forum/viewt ... ight=46k20
http://www.sfcompiler.co.uk/forum/viewt ... ight=46k20
- Mon May 11, 2009 3:30 pm
- Forum: General
- Topic: Looking for PIC MultiCalc
- Replies: 2
- Views: 3914
- Tue May 05, 2009 7:53 am
- Forum: Compiler
- Topic: My first project with swordfish!!!
- Replies: 27
- Views: 12803