Search found 148 matches

by prancius
27 Jun 2017 22:14
Forum: mikroC PRO for PIC General
Topic: PIC18F4580 I2C slave first communication
Replies: 3
Views: 3121

PIC18F4580 I2C slave first communication

Hi, Maybe somebody will know where is problem. To PICs I2C communication. Master sends read command to slave. Slave response 10 bytes. First communication is with ? marks. SPURIOUS SCL transition detected. Then everything goes well. Looks like some initialization of registers according I2C is missin...
by prancius
26 Jun 2017 22:36
Forum: mikroC PRO for PIC General
Topic: I2C slave on 18F2420
Replies: 1
Views: 2631

Re: I2C slave on 18F2420

Very good support :) 2 years no answer :)
by prancius
23 Apr 2017 12:52
Forum: mikroC PRO for PIC General
Topic: PIC16F887 portb change detect change pin
Replies: 3
Views: 2672

Re: PIC16F887 portb change detect change pin

What about such code: else if(INTCON.RBIF==1) { NEW_PORTB = PORTB; // Need to read or write to the port to clear mismatch condition else if (OLD_PORTB.F5 == 0 && NEW_PORTB.F5 == 1) { counter[0].value++; } else if (OLD_PORTB.F7 == 0 && NEW_PORTB.F7 == 1) { counter[1].value++; } OLD_PORTB=NEW_PORTB; I...
by prancius
23 Apr 2017 01:40
Forum: mikroC PRO for PIC General
Topic: PIC16F887 portb change detect change pin
Replies: 3
Views: 2672

PIC16F887 portb change detect change pin

Hi, Need a help to determine which port was changed. As we know at PIC16F887 all PORTB pins can be configured as interrupts. I need to count every pulse on every portb pin. My solution is not good if(RBIF_bit) { x = PORTB; // Need to read or write to the port to clear mismatch condition PORTB=x; if ...
by prancius
21 Apr 2017 20:32
Forum: mikroC PRO for PIC General
Topic: PIC16887 and ADXL345 via I2c
Replies: 3
Views: 4161

PIC16887 and ADXL345 via I2c

Hi, Guys need help with ADXL345 via I2c. My code gives me "Error during inicialization" Any ideas? // ADXL345 Register Definition #define _POWER_CTL 0x2D #define _DATA_FORMAT 0x31 #define _BW_RATE 0x2C #define _DATAX0 0x32 #define _DATAX1 0x33 #define _DATAY0 0x34 #define _DATAY1 0x35 #define _DATAZ...
by prancius
20 Apr 2015 17:40
Forum: mikroC PRO for PIC General
Topic: Net_Ethernet_Intern_startSendTCP almost
Replies: 7
Views: 3558

Re: Net_Ethernet_Intern_startSendTCP almost

Yes, please. I am waiting.

Thank you
by prancius
20 Apr 2015 11:27
Forum: mikroC PRO for AVR General
Topic: Hang after calling Net_Ethernet_28j60_connectTCP
Replies: 20
Views: 10278

Re: Hang after calling Net_Ethernet_28j60_connectTCP

Our company have the same situation.
Fully invested in mikroe products and stuck on simple http request project for long time.

So please let me know if you will find some rewsolution.

Regards,
Pranas
by prancius
20 Apr 2015 09:24
Forum: mikroC PRO for PIC General
Topic: Net_Ethernet_Intern_startSendTCP almost
Replies: 7
Views: 3558

Re: Net_Ethernet_Intern_startSendTCP almost

Maybe, but need not some sugestions, i need make work this project. And expect your support. ...
by prancius
16 Jan 2015 12:29
Forum: mikroC PRO for PIC General
Topic: Net_Ethernet_Intern_connectTCP Not Reset The Result
Replies: 12
Views: 4841

Re: Net_Ethernet_Intern_connectTCP Not Reset The Result

Yes i am using mikroe products allready few years, ant support comes bad and bad.
As i see this platform comes only for school boys for led blinking ... :)
Need to move other platform... Sorry but it is true
by prancius
25 Dec 2014 22:26
Forum: mikroC PRO for PIC General
Topic: Net_Ethernet_Intern_startSendTCP almost
Replies: 7
Views: 3558

Re: Net_Ethernet_Intern_startSendTCP almost

Thank you for example. I have changed my code using your recomendations. My purpose is to send http request to server each 10 seconds. #include "__NetEthInternal.h" unsigned char myMacAddr[6] = {0x00, 0x24, 0xB5, 0x86, 0x79, 0x5f}; // my MAC address unsigned char myIpAdd[4] = {192, 168, 1, 59 }; // ...
by prancius
20 Dec 2014 22:21
Forum: mikroC PRO for PIC General
Topic: Net_Ethernet_Intern_startSendTCP almost
Replies: 7
Views: 3558

Net_Ethernet_Intern_startSendTCP almost

Hello, I am working with PIC18FxxJ60 to send simple tcp request to remote server (no TCP response, using response there is good example with images ....) There is my code: PIC18F67J60 or PIC18F87J60 board LV18F v6 25MGhz #include "__NetEthInternal.h" unsigned char myMacAddr[6] = {0x00, 0x24, 0xB5, 0...
by prancius
20 Dec 2014 21:45
Forum: mikroBasic PRO for PIC General
Topic: Http Request Issue
Replies: 2
Views: 2180

Re: Http Request Issue

Very bad support ....

Have you discovered something?

Go to advanced search