Search found 41 matches

by Francesco.C
Sat May 30, 2009 6:28 pm
Forum: Modules
Topic: How to red a string using SUART?
Replies: 2
Views: 2823

How to red a string using SUART?

Hi guys, I have been using the USART command 'WaitForStr' to send a string from windows terminal. Now, as my project has developed, I cannot use the same port pins. So I decided to use SUART and declared 'UART.SetRX(PORTB.2)'. However I have not managed to find the equivalent to 'WaitForStr' I have ...
by Francesco.C
Tue May 19, 2009 10:00 pm
Forum: Modules
Topic: Starting with SPI. Need some help!
Replies: 2
Views: 2773

Starting with SPI. Need some help!

Hi guys, I need to some info to get me started with SPI comms. I would like some clarification regarding the SPI protocol. Is the SPI protocol universal for all devices that implents it? For example is the SF SPI module compatable with all SPI memory devices? I had a look to some SPI devices from AT...
by Francesco.C
Sat May 09, 2009 5:44 pm
Forum: Compiler
Topic: I do I buy the licence for Swordfish?
Replies: 1
Views: 1872

I do I buy the licence for Swordfish?

I Am happy with Swordfish and I want buy the licence to make full use of it.

I cannot find any link on the site or the price for the licence.


Regards

Francesco C
by Francesco.C
Thu May 07, 2009 7:38 pm
Forum: Modules
Topic: Help me with RS232 comms.
Replies: 8
Views: 5189

Thank a lot for the hints guys, program is working now!

I have found the fault was due to a floating ground signal (bad solder). :oops:

Regards

Francesco C
by Francesco.C
Sun May 03, 2009 9:00 pm
Forum: Modules
Topic: Help me with RS232 comms.
Replies: 8
Views: 5189

Hi, Thank you for the help provided so far. I was not aware of the large ammount of info available on the subject. However I have not managed to make the comms work. This is the very simple program I chose to make things happen. ##################### Device = 18F2553 Clock = 20 Include "usart.bas" S...
by Francesco.C
Sat May 02, 2009 9:48 pm
Forum: Modules
Topic: Help me with RS232 comms.
Replies: 8
Views: 5189

Thanks for the replay guys,

I am using a PIC18F2553. It has USART facility built-in.

Regards

Francesco C
by Francesco.C
Sat May 02, 2009 6:28 pm
Forum: Modules
Topic: Help me with RS232 comms.
Replies: 8
Views: 5189

Help me with RS232 comms.

Hi guys, I need my PC to communicate with the PIC using RS232. I understand well the hardware set-up, but I am a little lost with regard to the software. I had a look in the software library and did not find an example to start me going. Can anyone show me, to start with, a simple example to send a ...
by Francesco.C
Mon Mar 16, 2009 5:46 pm
Forum: Compiler
Topic: Help with Converting Number to string!
Replies: 4
Views: 2872

Thank Doj,
I realise that. Trying to save code.

Thank you Steven.
Unfortunaty I am using the SE version of the compiler and it does not allow
me to use that function>

I will end-up using other string functions, like Mid$ or Left$.

Thanks again

Francesco C.
by Francesco.C
Sun Mar 15, 2009 8:00 pm
Forum: Compiler
Topic: Help with Converting Number to string!
Replies: 4
Views: 2872

Help with Converting Number to string!

Hi there, My first posting. :) If I use DecToStr(10), Result is "10" . If I use DecToStr(2.6) I get "2". This is undestandable and expected. So how can I overcome the obove limitations so that DecToStr(2.6) gives "2.6"? I need to display this on a LCD! Any suggestion? Thanks for any help. Francesco C
by Francesco.C
Thu Feb 26, 2009 11:02 pm
Forum: Compiler
Topic: Help defining lower nibble for LCD data
Replies: 1
Views: 1722

Hi, is me again.

I have found the unswer to my question and my LCD display is working OK.

When '#option LCD_DATA'=0 Lower nible enabled.
When '#option LCD_DATA'=4 Upper nible enabled.

Regards

Francesco.C :)
by Francesco.C
Thu Feb 26, 2009 7:28 pm
Forum: Compiler
Topic: Help defining lower nibble for LCD data
Replies: 1
Views: 1722

Help defining lower nibble for LCD data

Hi,
I have just joined and being new to PICBASIC I need a little help.
I was exploring '#option LCD_DATA '.

I would like to use the lower nible of the data bus (B0-B3) to operate the
LCD display.

Am I on the right track?

I would be grateful for any help.

Regards

Francesco.C :)