Search found 125 matches

by Seniorlemuren
15 May 2017 18:22
Forum: mikroC PRO for PIC General
Topic: New harddisk
Replies: 1
Views: 1485

New harddisk

I have a new hard drive in my desktop. The old one has crashed. I also use my compiler in my laptop. How do I get new license files?
My name: Urban Hahne
Email urban@hahnes.se
Compilator: microC PRO for PIC.
by Seniorlemuren
23 Oct 2015 08:30
Forum: mikroC PRO for PIC General
Topic: Whats new with MikroC Pro 6.6.2
Replies: 1
Views: 1107

Whats new with MikroC Pro 6.6.2

I am still using ver 6.0.0. I did not upgrade to 6.6.1 because some bugs in the beginning. Now I think ver 6.6.2 is stable. What is the significant improvement in ver 6.6.2 comparing with ver 6.0.0?

Ver 6.0.0 is working great for me so give me some good reason to upgrade.
by Seniorlemuren
01 Aug 2015 12:56
Forum: mikroC PRO for PIC General
Topic: I2C time out problem. Need HELP!
Replies: 6
Views: 2629

Re: I2C time out problem. Need HELP!

Dany wrote:
Seniorlemuren wrote:The file format is MPKG for the Pascal example and I am not able to open it?
There is a .zip file also, just in case a user has not installed e.g. the mP compiler.
Yes, I found it. Thank You. :)
by Seniorlemuren
01 Aug 2015 10:38
Forum: mikroC PRO for PIC General
Topic: I2C time out problem. Need HELP!
Replies: 6
Views: 2629

Re: I2C time out problem. Need HELP!

The file format is MPKG for the Pascal example and I am not able to open it?
by Seniorlemuren
31 Jul 2015 18:23
Forum: mikroC PRO for PIC General
Topic: I2C time out problem. Need HELP!
Replies: 6
Views: 2629

Re: I2C time out problem. Need HELP!

I bump this up, because it is for the boat and its still summer and its urgent to solve this problem.
by Seniorlemuren
30 Jul 2015 15:50
Forum: mikroC PRO for PIC General
Topic: I2C time out problem. Need HELP!
Replies: 6
Views: 2629

I2C time out problem. Need HELP!

I have built a control system for throttle and gear for a boat. Everything is operated by stepper motors and encoders. For presenting current settings, it is connected an OLED that communicates with I2C. The program is done in mikroC PRO and I use lib feature I2C to write to the display. The problem...
by Seniorlemuren
26 Jul 2015 12:58
Forum: mikroC PRO for PIC General
Topic: Migrate from pic16f877a to pic18f4520
Replies: 3
Views: 1700

Re: Migrate from pic16f877a to pic18f4520

I thought CSS meant Cascading Style Sheets. How can this code be CSS?
by Seniorlemuren
22 Jul 2015 08:56
Forum: mikroC PRO for PIC General
Topic: Intetrupt problem "SOLVED"
Replies: 2
Views: 1212

Re: Intetrupt problem "SOLVED"

The problem was that this was missing:

Code: Select all

IOCB6_bit = 1;               // Enable RB6 interrupt pin
IOCB7_bit = 1;               // Enable RB7 interrupt pin
But they should be defalut = 1 ??
interuptproblem.png
interuptproblem.png (40.83 KiB) Viewed 1202 times
by Seniorlemuren
22 Jul 2015 02:15
Forum: mikroC PRO for PIC General
Topic: Intetrupt problem "SOLVED"
Replies: 2
Views: 1212

Intetrupt problem "SOLVED"

I have used Interrupt-on-pin change (pin RB6,RB7) on PIC18F4550 as input from a encoder and now I changed the µC to PIC18F5622 and the interrupt is not working. This is the pin settings: ANSELA = 0x00; // Configure AN pins as digital I/O ANSELB = 0x00; // Configure AN pins as digital I/O ANSELC = 0x...
by Seniorlemuren
21 Jul 2015 21:30
Forum: mikroC PRO for PIC General
Topic: Problem with OLED and PIC18F46K22 "Solved"
Replies: 19
Views: 8904

Re: Problem with OLED and PIC18F46K22

ADCON1 = 0b00001111 ; // Configure AN pins as digital I/O For those chips, ADCON1 don't set A/N. Use ANSELx only. I missed this post totally. Sorry about that. Thank you all for your help. I had completely missed this post from Toley that talked about what was wrong. This was missing: ANSELC = 0x00...
by Seniorlemuren
21 Jul 2015 10:05
Forum: mikroC PRO for PIC General
Topic: Problem with OLED and PIC18F46K22 "Solved"
Replies: 19
Views: 8904

Re: Problem with OLED and PIC18F46K22

Toley wrote:
ADCON1 = 0b00001111 ; // Configure AN pins as digital I/O
For those chips, ADCON1 don't set A/N. Use ANSELx only.
I missed this totally. Sorry about that. Thank you all for your help.
by Seniorlemuren
20 Jul 2015 18:36
Forum: mikroC PRO for PIC General
Topic: Problem with OLED and PIC18F46K22 "Solved"
Replies: 19
Views: 8904

Re: Problem with OLED and PIC18F46K22

Ok. for to do it very simple then. I wrote:

Code: Select all

I2C1_Init(100000);
     led_On ;
     I2C1_Start();
     I2C1_Wr(0x78);
     led_Off ;
And the led continued to light the whole time.
And now I am I expect someone from the mikroC support people to support. Because this is something weird.
by Seniorlemuren
20 Jul 2015 11:59
Forum: mikroC PRO for PIC General
Topic: Problem with OLED and PIC18F46K22 "Solved"
Replies: 19
Views: 8904

Re: Problem with OLED and PIC18F46K22

I have now tryed to shange the PIC18F4550 against a PIC18LF45K50: It is 3.3V but I tested to run PIC18F4550 who is a 5v om 3.3V and it was no problem at all. So what a f..k is the difference between 4550 and 45K50 . I even tryed a PIC16F887 and it was working. But not these K µC. Is there someting m...
by Seniorlemuren
19 Jul 2015 23:00
Forum: mikroC PRO for PIC General
Topic: Problem with OLED and PIC18F46K22 "Solved"
Replies: 19
Views: 8904

Re: Problem with OLED and PIC18F46K22

I dont know where you foud this information. This is the information I have about the OLED. No backlight, the display unit can be self-luminous High resolution: 128 * 64 Viewing angle:> 160 ° Supports many control chip: Fully compatible with Arduino, 51 series, MSP430 series, STM32 / 2, CSR chip, et...
by Seniorlemuren
19 Jul 2015 19:14
Forum: mikroC PRO for PIC General
Topic: Problem with OLED and PIC18F46K22 "Solved"
Replies: 19
Views: 8904

Re: Problem with OLED and PIC18F46K22

Unfortunately I have no other I2C devices to test with so that is not possible. The first test you described : (if (I2C1_Wr(dev_address)))I think is not necessarily because that is proven by the try to write in the header-file, where it hang: "I2C1_Wr(0x78);"The program i stopped here awaiting for t...

Go to advanced search