Search found 134 matches
- 14 Aug 2018 18:14
- Forum: mikroBasic PRO for PIC General
- Topic: Not enough ROM space
- Replies: 3
- Views: 1341
Re: Not enough ROM space
Petar, Unfortunately I can't post or send you the code. But after more searching, I believe I found the problem. My main routine was very large and approaching 2k and once it went over the error showed up. It appears to be a paging issue where routine a can't pass a page boundary. Changing some of t...
- 14 Aug 2018 01:16
- Forum: mikroBasic PRO for PIC General
- Topic: Not enough ROM space
- Replies: 3
- Views: 1341
Not enough ROM space
I am using a PIC16F1509 with presumably 8K of memory. My program compiles fine at this point. Snip1.PNG But just after adding one nop the compiler issues a error "There is not enough ROM space" How can this be, since there is plenty of memory? I am using V7.0.0 downloaded the lastest version 7.2.0 b...
- 14 Jan 2016 18:57
- Forum: mikroBasic PRO for PIC General
- Topic: Yet again I2C
- Replies: 5
- Views: 2516
Re: Yet again I2C
You can try two other things. Make sure the WP pin on the chip is tied to ground. Also add a delay after your write sequence like this: sub procedure test_i2c() Soft_I2C_Init() Soft_I2C_Start() ' Issue start signal Soft_I2C_Write(0xA0) ' Address PCF8583, see PCF8583 datasheet Soft_I2C_Write(16) ' St...
- 13 Jan 2016 04:22
- Forum: mikroBasic PRO for PIC General
- Topic: Yet again I2C
- Replies: 5
- Views: 2516
Re: Yet again I2C
Okay i will give it a try. Change this from: dim Soft_I2C_Scl_Direction as sbit at GPIO.0 dim Soft_I2C_Sda_Direction as sbit at GPIO.1 To this: dim Soft_I2C_Scl_Direction as sbit at TRISIO.0 dim Soft_I2C_Sda_Direction as sbit at TRISIO.1 Also remove the second I2C_Start in your Write sequence, it is...
- 14 Jun 2013 02:58
- Forum: mikroBasic PRO for PIC General
- Topic: PIC16F628 PWM LED Sequencer error
- Replies: 2
- Views: 1675
Re: PIC16F628 PWM LED Sequencer error
kalingajay,
You might want to post in the "mikroC PRO for PIC General", since your program is in C.
I am sure you will some receive some help there.
You might want to post in the "mikroC PRO for PIC General", since your program is in C.
I am sure you will some receive some help there.
- 14 Jun 2013 02:42
- Forum: mikroBasic PRO for PIC General
- Topic: What's wrong with this code? (PIC12F1501)
- Replies: 3
- Views: 1899
Re: What's wrong with this code? (PIC12F1501)
Lloyd,
Try adding this line after the PWM1_Start()
Let me know if this helps.
I edited this post Durango
Try adding this line
Code: Select all
PWM1CON = PWM1CON or %10000000
Let me know if this helps.
I edited this post Durango
- 13 Jun 2013 22:23
- Forum: mikroBasic PRO for PIC General
- Topic: What's wrong with this code? (PIC12F1501)
- Replies: 3
- Views: 1899
Re: What's wrong with this code? (PIC12F1501)
Lloyd, Can you send a screen shot of the Edit Project window, select Project tab then Edit Project; my guess is the device is configured for an external clock which not present. Which it is by default setting in ME Pro Or you could just set the Edit Project window to this: untitled.JPG Then add OSCC...
- 10 Jun 2013 18:06
- Forum: mikroBasic PRO for PIC General
- Topic: Compiler update
- Replies: 6
- Views: 2611
Re: Compiler update
Milos,
Thanks for getting the information on how to update the compiler.
I am now at version 6.0.1, thanks you for your help.
Durango
Thanks for getting the information on how to update the compiler.
I am now at version 6.0.1, thanks you for your help.
Durango
- 06 Jun 2013 18:15
- Forum: mikroC PRO for PIC General
- Topic: Communicating via I2C with NXP SE95 (Similar to the LM75)
- Replies: 4
- Views: 1953
Re: Communicating via I2C with NXP SE95 (Similar to the LM75
Dave, The PIC will hang if it does not receive an ACK bit from the slave device it is talking to. So after this line is sent I2C1_Wr(I2Caddress); //Send device address + W it waits for the acknowledge that for some reason it does not get. Check to see if the clock and data lines are correct and the ...
- 06 Jun 2013 16:41
- Forum: mikroBasic PRO for PIC General
- Topic: Compiler update
- Replies: 6
- Views: 2611
Re: Compiler update
milos, Thanks for the suggestion. I did upgrade my personal laptop last night, just to see what the changes were; and possibly try a back door approach. I will give your method it a try, and let you know of the progress on Monday. My question is does the license file, I have one for each computer af...
- 05 Jun 2013 17:33
- Forum: mikroBasic PRO for PIC General
- Topic: Compiler update
- Replies: 6
- Views: 2611
Re: Compiler update
Unfortunately it is a corporate firewall that I and the local IT dept can do little about. I was hoping ME could provide a link to download it, just like previous versions. I still have the ability to load programs on my PC but for how much longer will depend on corp IT. I guess after 18 years servi...
- 05 Jun 2013 14:34
- Forum: mikroBasic PRO for PIC General
- Topic: Compiler update
- Replies: 6
- Views: 2611
Compiler update
How do you update the mikroBasic PRO to 6.0.1.0?
On the web site it still has 6.0.0.
The check for updates say 6.0.1.0 is ready but I can not downloaded due to administrative privileges.
If this is a minor change, what is it and how can I get it?
Thanks,
Durango
On the web site it still has 6.0.0.
The check for updates say 6.0.1.0 is ready but I can not downloaded due to administrative privileges.
If this is a minor change, what is it and how can I get it?
Thanks,
Durango
- 20 May 2013 15:23
- Forum: mikroBasic PRO for PIC General
- Topic: Can not initialize LCD with 18F46K80.
- Replies: 5
- Views: 2517
Re: Can not initialize LCD with 18F46K80.
Yes the TRIS command will set up the ports to be digital input or outputs. But if a port pin has an analog function associated with it. It will take precedence and you will need to disable them to get the port to function as a digitalt I/O. Try adding this to your code after your OSCCON setting and ...
- 20 May 2013 13:52
- Forum: mikroBasic PRO for PIC General
- Topic: Can not initialize LCD with 18F46K80.
- Replies: 5
- Views: 2517
Re: Can not initialize LCD with 18F46K80.
slavka001,
RB0 and RB1 have analog (ADC) capability and you need to turn that off in order to make those two pins digital outputs.
Take a look at the PIC's data sheet to see how. The data sheet is your friend.
Durango
RB0 and RB1 have analog (ADC) capability and you need to turn that off in order to make those two pins digital outputs.
Take a look at the PIC's data sheet to see how. The data sheet is your friend.
Durango
- 14 May 2013 14:28
- Forum: mikroBasic PRO for PIC General
- Topic: weird operation
- Replies: 6
- Views: 2088
Re: weird operation
queenidog, To answer this question: 2) It works fine if I use the 8Mhz crystal on the EasypicV7, but the 16F88 has an 8Mhz oscillator on board that I want to use. There are no config bits in the Project Settings that work. What is required by the 16F88 is INTIO2 (internal oscillator with I/O on RA6 ...