Search found 200 matches

by gramo
Sun Dec 05, 2010 12:11 pm
Forum: Compiler
Topic: Cant get the decimal place on a lcd.
Replies: 12
Views: 5898

Jerry Messina wrote:If you declare 'biming' as a float, you can use a single call to convert.FloatToStr() to print the result
Only if you have a Image beside your name :wink:
by gramo
Sun Dec 05, 2010 7:23 am
Forum: Compiler
Topic: Cant get the decimal place on a lcd.
Replies: 12
Views: 5898

mazur50 wrote:So just dim the variable as a long word.
So long as you use the appropriate scaling, or else decimal places will be truncated.
by gramo
Sat Dec 04, 2010 10:21 pm
Forum: Compiler
Topic: Cant get the decimal place on a lcd.
Replies: 12
Views: 5898

Re: Cant get the decimal place on a lcd.

LCD.Write(" ", DecToStr(biming), ".", dectostr(biming, 2), " ", "Degees") I'm going to have a guess and say that the variable "biming" is not of type float, and that is why DecToStr(biming) only displays "45". dectostr(biming, 2) will pad the string with zeros, two in this case - and also limit the...
by gramo
Wed Dec 01, 2010 7:41 pm
Forum: User Modules
Topic: MCP23008 I2C 8-bit I/O Expander Swordfish Module
Replies: 5
Views: 4604

Try it now Phil - Looks like the code had spaces stripped in some areas?
by gramo
Thu Nov 25, 2010 6:41 am
Forum: IDE
Topic: No updating, no password, no response...
Replies: 5
Views: 4502

As you're probably aware - the password protected updates is a new feature. You have received a version of Swordfish that precedes the very recent security update..

Not to worry - David will get back to you, and it looks you have more than enough proof to ensure it will be resolved shortly :wink:
by gramo
Wed Nov 24, 2010 7:38 pm
Forum: Modules
Topic: SDFileSystem & K-Series PIC
Replies: 6
Views: 5291

There are a few SPI errata issues to deal with on the current silicon revisions.. Even the latest B3/B4/B5 have their fair share
by gramo
Thu Nov 04, 2010 10:17 am
Forum: Compiler
Topic: Snapshot of a GLCD
Replies: 8
Views: 4750

Were you looking at taking a "screenshot" or a complete memory dump of the display ram?

If its a "screenshot" - what resolution is the GLCD?
by gramo
Thu Nov 04, 2010 10:10 am
Forum: Compiler
Topic: USART
Replies: 9
Views: 4875

Open the module and search for the module identifier. For SUART.bas it is listed as: Module UART Which means you can now use the UART identifier with dot notation to access any publicly visible objects, for example: UART.Write("Hello World") In the case of USART.bas, it is listed as Module USART Whi...
by gramo
Wed Oct 06, 2010 5:43 am
Forum: IDE
Topic: Swordfish IDE version didn't update 2.2.0.1>2.2.0.2
Replies: 3
Views: 3728

Call it coincidence, but this happened again after updating from 2.2.0.2 to 2.2.0.4 (not displaying the correct version in Help > About) Second update attempt and the 'About' screen displayed the correct version. Not calling this a bug - could be something localised to my PC. In any case, if other p...
by gramo
Sun Oct 03, 2010 1:47 pm
Forum: IDE
Topic: Swordfish IDE version didn't update 2.2.0.1>2.2.0.2
Replies: 3
Views: 3728

After watching the download progress bar, restarting and then allowing administration privileges for the update, I assumed it had installed.

Turns out it didn't! A second run-through did the trick - Cheers David, and sorry for wasting a few bytes of your SQL database
by gramo
Sun Oct 03, 2010 1:39 pm
Forum: Compiler
Topic: Post 2.2.0.1 update issue "{"
Replies: 3
Views: 2370

Cheers David,

Two updates in less than a week! SF is back in business 8)
by gramo
Sun Oct 03, 2010 1:37 pm
Forum: IDE
Topic: Swordfish IDE version didn't update 2.2.0.1>2.2.0.2
Replies: 3
Views: 3728

Swordfish IDE version didn't update 2.2.0.1>2.2.0.2

Not that anyone's life depends on it, though the Help > About info screen isn't updating the SF IDE version. It's remained as 2.2.0.1 after updating to 2.2.0.2
by gramo
Sun Oct 03, 2010 4:16 am
Forum: User Modules
Topic: PS/2 Keyboard User Module
Replies: 5
Views: 6248

Version 1.1 Notes FIX: Swordfish version 2.2.0.1 no longer generates an error on KBD_UCASE elements. FEATURE: Detects if the PS/2 Keyboard is connected, and handles all re-programming on-the-fly (allows keyboards to be disconnected/connected and remain functional). IMPROVEMENT: Increased performanc...
by gramo
Sun Oct 03, 2010 1:10 am
Forum: Compiler
Topic: Post 2.2.0.1 update issue "{"
Replies: 3
Views: 2370

Post 2.2.0.1 update issue "{"

Pre 2.2.0.1 this worked: Const KBD_UCASE(142) As Byte = (Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,Null,"~", Null,Null,Null,Null,Null,Null,"Q","!",Null,Null,Null,"Z","S","A","W","@", Null,Null,"C","X","D","E","$","#",Null,Null," ","V","F","T","R","%",Null, Null,"N","B","H","G"...
by gramo
Fri Oct 01, 2010 10:19 am
Forum: Compiler
Topic: PS/2 Keyboard
Replies: 4
Views: 3333

I recently made a user module for PS/2 AT Keyboards , perhaps it will do the job for you? It's software driven with optional interrupt driven timeouts. Here's an example of the modules use: Device = 18F2520 // 18F2520 PIC in use, could be any 18F PIC Clock = 32 // clock speed is 32Mhz (8MIPS) Config...