Search found 5 matches
- 06 Dec 2011 08:06
- Forum: mikroC PRO for PIC General
- Topic: uart code in mikroc pro
- Replies: 5
- Views: 3418
Re: uart code in mikroc pro
thnx i found it
- 02 Dec 2011 23:18
- Forum: mikroC PRO for PIC General
- Topic: uart code in mikroc pro
- Replies: 5
- Views: 3418
uart code in mikroc pro
i want an example code of uart at mikroc pro as really i am confused about it and can't make the whole code and thanks in advance
- 01 Dec 2011 13:52
- Forum: mikroC PRO for PIC General
- Topic: code for tmr0 in mikroc pro
- Replies: 3
- Views: 2393
Re: code for tmr0 in mikroc pro
thnx it is work nw
- 01 Dec 2011 13:50
- Forum: mikroC PRO for PIC General
- Topic: code for tmr0 in mikroc pro
- Replies: 3
- Views: 2393
Re: code for tmr0 in mikroc pro
thnx it is workjanko.kaljevic wrote:Hello,
I do not know whether there are typing mistake or not, but you can not call interrupt function from your code.
And if you are doing polling you do not need interrupt function.
You can check timer interrupts examples in examples folder in compiler.
Best regards.
- 01 Dec 2011 08:10
- Forum: mikroC PRO for PIC General
- Topic: code for tmr0 in mikroc pro
- Replies: 3
- Views: 2393
code for tmr0 in mikroc pro
using tmr0 at pic 16f877a to make 10 min delay or what ever the delay using 4 MHz oscillatory i tried to write the code but there is error and this is the code unsigned i; void interrupt(){ intcon = 0b00100000; i++; if (i==305) portd=1; tmr0if_bit=0; tmr0=0; } void main() { intcon = 0b10100000; opti...