Search found 1197 matches
- Tue Dec 12, 2006 9:16 pm
- Forum: Modules
- Topic: Clearing some areas from the GLCD
- Replies: 31
- Views: 16558
You might want to go to the wiki and download a font converter update http://www.sfcompiler.co.uk/wiki/pmwiki.php?n=SwordfishUser.UsefulLinks This version will allow you to set a range of ASCII characters to generate. When you have downloaded the executable, double click to install the plugin. From ...
- Tue Dec 12, 2006 7:32 pm
- Forum: Modules
- Topic: Clearing some areas from the GLCD
- Replies: 31
- Views: 16558
You shouldn't call WriteImageByte() directly - that's why it is private. Don't change private to public with modules supplied with the compiler unless you know what you are doing or have been told to do so. Use SetImage() - try the sample file GLCDImage.bas to see how it is used - it displays a (8 x...
- Tue Dec 12, 2006 4:40 pm
- Forum: Modules
- Topic: Clearing some areas from the GLCD
- Replies: 31
- Views: 16558
- Mon Dec 11, 2006 5:26 pm
- Forum: IDE
- Topic: Where is the Image Converter Plugin?
- Replies: 2
- Views: 3254
- Sat Dec 09, 2006 8:32 am
- Forum: Modules
- Topic: Clearing some areas from the GLCD
- Replies: 31
- Views: 16558
- Thu Dec 07, 2006 6:19 pm
- Forum: Compiler
- Topic: Detecting if I2C has been Initialized
- Replies: 1
- Views: 2326
The compiler won't be able to detect if it has been initialised or not, if that is what you mean. If you are writing a module that uses I2C, you can call 'Initialize' from within the code section of the module to ensure it is called before the main program executes. However, you will probably need a...
- Thu Dec 07, 2006 6:11 pm
- Forum: Compiler
- Topic: Reading FLASH
- Replies: 7
- Views: 4943
The MCU has gone to sleep (END) before the USART has time to output all characters. Try putting a delay before END. Alternatively,
should do the trick...
Code: Select all
Write ("$",HexToStr(CSUM,4), 13, 10)
- Thu Dec 07, 2006 1:33 pm
- Forum: Compiler
- Topic: Reading FLASH
- Replies: 7
- Views: 4943
In order to calculate a checksum, you will need to read each byte in ROM. Here is some code which will read a byte from any address location function ReadByte(pAddress as TABLEPTR) as byte asm- TBLRD *+ movff TABLAT, result end asm end function function ReadByte(pAddress as longword) as byte TBLPTRU...
- Tue Dec 05, 2006 1:29 pm
- Forum: Modules
- Topic: Expand the DS1820 library
- Replies: 3
- Views: 3952
I've posted a short article on the wiki showing how you can use Swordfish to connect to multiple OW devices of the same family...
http://www.sfcompiler.co.uk/wiki/pmwiki ... B20Article
http://www.sfcompiler.co.uk/wiki/pmwiki ... B20Article
- Mon Dec 04, 2006 9:57 pm
- Forum: Modules
- Topic: Expand the DS1820 library
- Replies: 3
- Views: 3952
Nice to see you are getting to play will the compiler. According to the DS18S20 datasheet... "The temperature data is stored as a 16-bit sign-extended two’s complement number in the temperature register" So you shouldn't need to do what you are doing as pTemp is already a signed number. You also sho...
- Mon Dec 04, 2006 5:58 pm
- Forum: Compiler
- Topic: Hardware SPI
- Replies: 2
- Views: 3016
- Sun Dec 03, 2006 9:22 am
- Forum: Modules
- Topic: Again OneWire-problems
- Replies: 8
- Views: 6248
> can you nevertheless explain how I have to set the RomID > because I think it's the same on DS18B20 or DS18S20. It's very easy. Here is an example which works with a DS18B20, using the following details (obtained from owsearch.bas) FAMILY $28 ($3F) ($0000002CD16E) // import modules... include "DS1...
- Sat Dec 02, 2006 9:08 pm
- Forum: Modules
- Topic: Again OneWire-problems
- Replies: 8
- Views: 6248
- Sat Dec 02, 2006 8:47 pm
- Forum: Modules
- Topic: Again OneWire-problems
- Replies: 8
- Views: 6248
You have not given the full output from the owsearch.bas example, so I cannot see the device family. Please supply the full information. Here is my output FAMILY $28 ($3F) ($0000002CD16E) FAMILY $05 ($F1) ($00000019F75D) FAMILY $05 ($90) ($0000001A20B7) FAMILY $23 ($CA) ($0000005C62EE) 4 device(s) f...
- Fri Dec 01, 2006 4:46 pm
- Forum: Compiler
- Topic: Even the examples run into Demolimit
- Replies: 14
- Views: 7174
> It is difficult to be patient when I can see that the money is > away since the 15.11.06 and nothing happens. Today I have > tried again (and for last time) to contact the seller. If he > wasn't answer until next week, then I contact David Baker > directly and try to demand the money back! (My Ban...