char hgtout[6],pin[8],by[6],wdtout[6],nip[6],nip1[6];
1511 IRP bit must be set manually for indirect access to 'wdtout' variable aa.c
1511 IRP bit must be set manually for indirect access to 'pin' variable aa.c
1511 IRP bit must be set manually for indirect access to 'nip1' variable aa.c
Search found 36 matches
- 16 Aug 2012 05:49
- Forum: mikroC PRO for PIC General
- Topic: error message apper what i want to do
- Replies: 2
- Views: 1255
- 09 Aug 2012 11:04
- Forum: mikroC PRO for PIC General
- Topic: How to programe ultrasonic sensor using Mikroc
- Replies: 13
- Views: 13331
Re: How to programe ultrasonic sensor using Mikroc
is this code correct i want to get my output through lcd display char txt[6]; #define TRIG PORTB.F6 #define ECHO PORTB.F7 // Keypad module connections // End Keypad module connections // LCD module connections sbit LCD_RS at RA1_bit; sbit LCD_EN at RA3_bit; sbit LCD_D4 at RD4_bit; sbit LCD_D5 at RD5...
- 09 Aug 2012 03:42
- Forum: mikroC PRO for PIC General
- Topic: How to programe ultrasonic sensor using Mikroc
- Replies: 13
- Views: 13331
Re: How to programe ultrasonic sensor using Mikroc
according to my knowledge from this code port c shows what is the distance that measures from ultra so. sensor
is that correct?
is that correct?
- 08 Aug 2012 21:23
- Forum: mikroC PRO for PIC General
- Topic: How to programe ultrasonic sensor using Mikroc
- Replies: 13
- Views: 13331
Re: How to programe ultrasonic sensor using Mikroc
no friend i want to know what are mentioned in these lines and how can it change to according to my code
Code: Select all
OPTION_REG.T0CS = 0;
OPTION_REG.PSA = 0;
OPTION_REG.PS0 = 1;
OPTION_REG.PS1 = 1;
OPTION_REG.PS2 = 1;
- 08 Aug 2012 20:32
- Forum: mikroC PRO for PIC General
- Topic: 16f877a ,16f877,16f887
- Replies: 4
- Views: 2632
Re: 16f877a ,16f877,16f887
Or if you do not like writing code, why not just use the correct PIC for the code as written? no friend i'm still learning about pic so there are lots of things left for learn to me My guess is that your code will not work without changes, but why not try it and see? i tried this i use 4x4keypad,16...
- 08 Aug 2012 18:38
- Forum: mikroC PRO for PIC General
- Topic: 16f877a ,16f877,16f887
- Replies: 4
- Views: 2632
Re: 16f877a ,16f877,16f887
what are they if i use same code for both 877 and 887 that could be a problem?There will be far less compatibility with 877 and there may well be significant changes needed to code.
- 08 Aug 2012 18:35
- Forum: mikroC PRO for PIC General
- Topic: How to programe ultrasonic sensor using Mikroc
- Replies: 13
- Views: 13331
Re: How to programe ultrasonic sensor using Mikroc
i hope to use 16f877A or 16f887
- 08 Aug 2012 14:45
- Forum: mikroC PRO for PIC General
- Topic: How to programe ultrasonic sensor using Mikroc
- Replies: 13
- Views: 13331
Re: How to programe ultrasonic sensor using Mikroc
ok friend //Crystal 4MHz //speed of sound 340m/s //1 TMR0 cycle = (340/1000000)*256*0.5*100 = 4.352 in cm #define TRIG PORTD.F0 #define ECHO PORTD.F1 double distance; void main() { TRISD.F0 = 1; TRISD.F1 = 0; TRISC=0; OPTION_REG.T0CS = 0; OPTION_REG.PSA = 0; OPTION_REG.PS0 = 1; OPTION_REG.PS1 = 1; O...
- 08 Aug 2012 14:43
- Forum: mikroC PRO for PIC General
- Topic: 16f877a ,16f877,16f887
- Replies: 4
- Views: 2632
16f877a ,16f877,16f887
what are the different between 16f877a ,16f877,16f887
- 08 Aug 2012 14:40
- Forum: mikroC PRO for PIC General
- Topic: how to increase stepper motor speed?
- Replies: 5
- Views: 2237
Re: how to increase stepper motor speed?
thank you friend
- 08 Aug 2012 14:38
- Forum: mikroC PRO for PIC General
- Topic: how to increase stepper motor speed?
- Replies: 5
- Views: 2237
Re: how to increase stepper motor speed?
i'll try this
- 07 Aug 2012 02:39
- Forum: mikroC PRO for PIC General
- Topic: how to increase stepper motor speed?
- Replies: 5
- Views: 2237
Re: how to increase stepper motor speed?
sorry friend i'm not understand what you said
- 06 Aug 2012 13:28
- Forum: mikroC PRO for PIC General
- Topic: how to increase stepper motor speed?
- Replies: 5
- Views: 2237
how to increase stepper motor speed?
for(k=0;k<100;k++){ t1=1; for(k2=0;k2<4;k2++){ portb=t1; delay_ms(10); t1=t1*2;} }; for(k=0;k<100;k++){ t1=8; for(k2=0;k2<4;k2++){ portb=t1; delay_ms(10); t1=t1/2;} }; i want to speed up my stepper motor my code is above how can i do that
- 27 Jul 2012 03:26
- Forum: mikroC PRO for PIC General
- Topic: How to programe ultrasonic sensor using Mikroc
- Replies: 13
- Views: 13331
Re: How to programe ultrasonic sensor using Mikroc
can u please explain this code
Code: Select all
void interrupt();
void main() {
OPTION_REG.INTEDG=0;
INTCON.GIE=1;
INTCON.INTE=1;
TRISA=0x00;
PORTA=0x00;
while(1){
}
}
void interrupt(){
if(INTCON.INTF==1){
PORTA=0xFF;
Delay_ms(1000);
PORTA=0x00;
INTCON.INTF=0;
} }
- 26 Jul 2012 12:47
- Forum: mikroC PRO for PIC General
- Topic: How to programe ultrasonic sensor using Mikroc
- Replies: 13
- Views: 13331
How to programe ultrasonic sensor using Mikroc
I need to know how to write a code for ultrasonic sensor using Mikroc for measure the distance plz help friend I'm new to electronic field please help