Use the setting for :
INTOSCIO oscillator: I/O function on RA6/OSC2/CLKOUT and RA7/OSC1/CLKIN
to free up the RA6/RA7 pins for use as normal I/O pins.
Hope that helps.
Search found 56 matches
- 09 Sep 2010 12:19
- Forum: mikroC PRO for PIC General
- Topic: Newbie - Internal Oscillator Help
- Replies: 3
- Views: 1384
- 29 Aug 2010 14:16
- Forum: mikroC PRO for PIC General
- Topic: shift register in C
- Replies: 12
- Views: 8217
Re: shift register in C
this will shift PORTB LED's to the left 8 times. char i = 0; char buffer; void main() { TRISB = 0x00; // set direction to be output PORTB = 0x00; // init PORTB to zero while(1) { buffer = 0b00000001; for (i = 0; i < 8; i++) { // loop for 8 shifts PORTB = buffer; // starting value of 1 delay_ms(150);...
- 28 Aug 2010 13:13
- Forum: mikroC PRO for PIC General
- Topic: Can someone help me interface the etek gps with atmel 8051?
- Replies: 1
- Views: 990
Re: Can someone help me interface the etek gps with atmel 80
there is a whole forum for MikroC for 8051 here
http://www.mikroe.com/forum/viewforum.php?f=48
http://www.mikroe.com/forum/viewforum.php?f=48
- 28 Aug 2010 01:26
- Forum: mikroC PRO for PIC General
- Topic: quadcopter UAV project help please
- Replies: 4
- Views: 1993
Re: quadcopter UAV project help please
Rocket: what the hell does your post mean?? Totally lost
- 26 Aug 2010 21:25
- Forum: mikroC PRO for PIC General
- Topic: could you help me about code
- Replies: 3
- Views: 1518
Re: could you help me about code
Braus: At first I wanted to correct you and say that the path was explicit, but its with a .c extension and the help files states File Inclusion The preprocessor directive #include pulls in header files (extension .h) into the source code. Do not rely on preprocessor to include source files (extensi...
- 26 Aug 2010 12:02
- Forum: mikroC PRO for PIC General
- Topic: could you help me about code
- Replies: 3
- Views: 1518
Re: could you help me about code
It might be more helpful to list 1. PIC chip and MikroC version you are using 2. Any Error messages you get when compiling so that others can be better informed about 'what is not working'. I notice one thing that might be a problem is you last code statement Hid_Disable(); will never be reached as ...
- 21 Aug 2010 01:35
- Forum: mikroC PRO for PIC General
- Topic: Help with PIC18F4550 ADC USB interface
- Replies: 9
- Views: 8724
Re: Help with PIC18F4550 ADC USB interface
4. last one : how to address the individual pins of pic18f4550 , I have tried PORTB.F0=1 , but does not work, every time I try to address single pins my board get restarted. If you look in the MikroC files under the 'defs' folder, and down to your PIC(18F4550) there is a 'P18F4550.c' which shows al...
- 13 Aug 2010 10:26
- Forum: mikroC PRO for PIC General
- Topic: How to define a 1s timer interrupt
- Replies: 7
- Views: 2905
Re: How to define a 1s timer interrupt
this article might help
http://romanblack.com/one_sec.htm
here's a neat tool for you
http://pictimer.picbingo.com/
http://romanblack.com/one_sec.htm
here's a neat tool for you
http://pictimer.picbingo.com/
- 12 Aug 2010 01:32
- Forum: mikroC PRO for PIC General
- Topic: PIC16F727 PORTC Bit toggling issue
- Replies: 3
- Views: 1662
Re: PIC16F727 PORTC Bit toggling issue
same goes for the PORTC config. Braus, wasnt sure if you meant PORTC as he is asking about and just made a typo.
Boris: post your code, maybe someone can spot a problem you may have overlooked. I know it sounds silly, but it happens.
Boris: post your code, maybe someone can spot a problem you may have overlooked. I know it sounds silly, but it happens.
- 11 Aug 2010 19:20
- Forum: mikroC PRO for PIC General
- Topic: Embedded USB Host Mass Storage Application.
- Replies: 2
- Views: 2250
- 11 Aug 2010 03:42
- Forum: mikroC PRO for PIC General
- Topic: IDE clarifications
- Replies: 4
- Views: 1627
Re: IDE clarifications
The grey vertical dotted lines are just a way of showing you sections of code between their containing braces '{}'. If the vertical dotted lines are red, that usually means there is a problem within that section of code.
- 11 Aug 2010 03:16
- Forum: mikroC PRO for PIC General
- Topic: Using a large 192x64 GLCD on a BigPic6 (18F8520)
- Replies: 5
- Views: 2707
Re: Using a large 192x64 GLCD on a BigPic6 (18F8520)
In the help file of the MikroC Compiler, in the 'Contents' tab, down towards the bottom is a 'tutorials' section, and within that is a section called 'Creating New Library' which tells how to for PIC16 and PIC18 MCU families. Hope that gets you goin in the right direction.
- 08 Aug 2010 15:20
- Forum: mikroC PRO for PIC General
- Topic: Two DS1820 Sensor on one wire
- Replies: 3
- Views: 1720
- 08 Aug 2010 13:46
- Forum: mikroC PRO for PIC General
- Topic: InfraRed Decoding
- Replies: 2
- Views: 1412
- 04 Aug 2010 14:34
- Forum: mikroC PRO for PIC General
- Topic: PIC16F819 VOLTMETER HELP
- Replies: 8
- Views: 4903
Re: PIC16F819 VOLTMETER HELP
On the interrupt fix, its just basically saying that there was a bug in calling interrupt routine with MikroC's built-in call with void interrupt() and that line of code should be replaced with void interrupt_routine() org 0x04 instead, just to make sure the function will actually be called and work...