Only if you have a beside your nameJerry Messina wrote:If you declare 'biming' as a float, you can use a single call to convert.FloatToStr() to print the result
Search found 200 matches
- Sun Dec 05, 2010 12:11 pm
- Forum: Compiler
- Topic: Cant get the decimal place on a lcd.
- Replies: 12
- Views: 5898
- Sun Dec 05, 2010 7:23 am
- Forum: Compiler
- Topic: Cant get the decimal place on a lcd.
- Replies: 12
- Views: 5898
- 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...
- Wed Dec 01, 2010 7:41 pm
- Forum: User Modules
- Topic: MCP23008 I2C 8-bit I/O Expander Swordfish Module
- Replies: 5
- Views: 4604
- Thu Nov 25, 2010 6:41 am
- Forum: IDE
- Topic: No updating, no password, no response...
- Replies: 5
- Views: 4502
- 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
- Thu Nov 04, 2010 10:17 am
- Forum: Compiler
- Topic: Snapshot of a GLCD
- Replies: 8
- Views: 4750
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...
- 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...
- 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
- Sun Oct 03, 2010 1:39 pm
- Forum: Compiler
- Topic: Post 2.2.0.1 update issue "{"
- Replies: 3
- Views: 2370
- 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
- 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...
- 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"...
- 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...