Search found 56 matches

by kada200
09 Sep 2010 12:19
Forum: mikroC PRO for PIC General
Topic: Newbie - Internal Oscillator Help
Replies: 3
Views: 1384

Re: Newbie - Internal Oscillator Help

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.
by kada200
29 Aug 2010 14:16
Forum: mikroC PRO for PIC General
Topic: shift register in C
Replies: 12
Views: 8218

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);...
by kada200
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 :(
by kada200
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...
by kada200
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 ...
by kada200
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...
by kada200
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, :wink: 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.
by kada200
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.
by kada200
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.
by kada200
08 Aug 2010 13:46
Forum: mikroC PRO for PIC General
Topic: InfraRed Decoding
Replies: 2
Views: 1412

Re: InfraRed Decoding

This might be of help/interest to you

http://www.electro-stuff.com/pic_ir_remote.html
by kada200
04 Aug 2010 14:34
Forum: mikroC PRO for PIC General
Topic: PIC16F819 VOLTMETER HELP
Replies: 8
Views: 4904

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...

Go to advanced search