Search found 37 matches

by NuMcA
13 Dec 2014 23:47
Forum: mikroC PRO for PIC General
Topic: Modbus RS-485 - Example of code
Replies: 5
Views: 4570

Re: Modbus RS-485 - Example of code

Sy wrote:Visit libstock, there are a bunch of modbus implementations already, including my modbusSlave and modbusMaster implementations, which should give you a good headstart.
Thank you very much Sy, I will look into it immediately!
by NuMcA
12 Dec 2014 15:33
Forum: mikroBasic PRO for PIC General
Topic: Modbus RTU
Replies: 4
Views: 5486

Re: Modbus RTU

Any news on the project? Did you translate it to MikroBasic?
by NuMcA
12 Dec 2014 11:41
Forum: mikroPascal General
Topic: Simple MODBUS RTU Slave
Replies: 6
Views: 25969

Re: Simple MODBUS RTU Slave

Great idea guys! I will try it and come back with questions and maybe answers! :)

Can anyone confirm that the MikroBasic code works? Is there a link for the Project to download?
Thank you!
by NuMcA
21 Oct 2010 15:54
Forum: mikroBasic General
Topic: Connecting NOKIA using F-Bus and "AT" commands ?
Replies: 24
Views: 22063

Re: Connecting NOKIA using F-Bus and "AT" commands ?

After extensive reading on the matter discussed, I am posting my conclusion to save future researchers from the time cost: There are 2 types of communications with a NOKIA phone. 1. FBUS protocol. It is a protocol, using 115200 bps full-duplex serial communication, that is used to communicate with A...
by NuMcA
20 Oct 2010 10:03
Forum: mikroBasic PRO for PIC General
Topic: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?
Replies: 18
Views: 8232

Re: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?

I have had no trouble with the Nokia display at all. Let me hook another one up and I'll try your code. My conversion of Anton's library is a little different to yours and I know it works okay. I'll post it when I get my laptop back. Colin, any luck finding your conversion of ANTON's library? Thanks
by NuMcA
17 Oct 2010 22:26
Forum: mikroBasic PRO for PIC General
Topic: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?
Replies: 18
Views: 8232

Re: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?

Have noticed in your first example you use PORTB for the Nokia and PORTC in the last example. If you are using PORTC and by the look of it a 16F887 then add this code and see if it makes a difference. CM1CON0.7 = 0 ' turn off comparators CM2CON0.7 = 0 ' turn off comparators ANSEL = 0 ' turn off ana...
by NuMcA
17 Oct 2010 22:24
Forum: mikroBasic PRO for PIC General
Topic: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?
Replies: 18
Views: 8232

Re: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?

Does the function NOK_Out_CP work? Yes, it seems it's the only procedure that works.. Check the cursor position to make sure you are writing to the correct spot (I got caught by this in the past). Yes, correct, checked with NOK_OUT_CP. Just in case, I don't think you can pass strings like that to a...
by NuMcA
16 Oct 2010 15:22
Forum: mikroBasic General
Topic: Connecting NOKIA using F-Bus and "AT" commands ?
Replies: 24
Views: 22063

Re: Connecting NOKIA using F-Bus and "AT" commands ?

OR
use an 20MHZ crystal, to get 113636, which is -1.38%.. NOT bad, is it?
by NuMcA
16 Oct 2010 13:03
Forum: mikroBasic PRO for PIC General
Topic: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?
Replies: 18
Views: 8232

Re: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?

Yes, i am using 3.3V supply..

The LCD turns on, i can send INDIVIDUAL characters to print on the LCD,
but cannot use the NOK_OUT(x,y, "blah-blah") function..
by NuMcA
14 Oct 2010 23:30
Forum: mikroBasic PRO for PIC General
Topic: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?
Replies: 18
Views: 8232

Re: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?

I have come to the conclusion that NOK_out() does not work.. '****************************************************************************' ' Writes a string at x, y position (maks 14 char per row) (0 <= x <= 84 , 0 <= y <= 5) Sub Procedure NOK_Out(Dim x, y as byte, Dim Byref sentance as char[14]) D...
by NuMcA
14 Oct 2010 22:52
Forum: mikroBasic PRO for PIC General
Topic: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?
Replies: 18
Views: 8232

Re: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?

Hmmm... NOT WORKING!! I cannot drive the LCD.. Does anyone have the courage to test this? Here is the code: program PIC16F887_NOKIA_3310_LCD '****************************************************************************' ' Written by ANTON RIECKERT ' anton@riecktron.co.za ' http: www.riecktron.co.za ...
by NuMcA
14 Oct 2010 22:25
Forum: mikroBasic PRO for PIC General
Topic: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?
Replies: 18
Views: 8232

Re: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?

PROBLEM SOLVED: the program now compiles without any problem. module NOKIA_3310_LCD_P16 '****************************************************************************' ' Written by ANTON RIECKERT ' anton@riecktron.co.za ' http:'www.riecktron.co.za ' Last updated : 14 November 2008 - Added support for...
by NuMcA
14 Oct 2010 16:39
Forum: mikroBasic PRO for PIC General
Topic: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?
Replies: 18
Views: 8232

Re: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?

You should also read the manual , if you intend to use mB PRO. I'm sure you'll get to grips with it in no time :) . PROBLEM SOLVED!!! I got it correctly!! This post had an example exactly like mine: http://www.mikroe.com/forum/viewtopic.php?p=127800#p127800 Thank you all!! I will post results and f...
by NuMcA
14 Oct 2010 09:29
Forum: mikroBasic PRO for PIC General
Topic: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?
Replies: 18
Views: 8232

Re: MikroBasic PRO and NOKIA 3310 LCD. Any libraries?

Thank you for your answer Zristic, but i did not fully understand.. You mean just move the code, above "implements"? That does not seem to work... I am sorry for troubling you with my noobish questions, but i am really trying to get in grips with external modules and libraries..

Go to advanced search