Search found 54 matches
- 30 Nov 2020 10:46
- Forum: mikroC PRO for AVR General
- Topic: Mikro C and debuging in Microchip studio
- Replies: 1
- Views: 1818
Mikro C and debuging in Microchip studio
Can someone help me wirh debuging AVR C -code in the new Microchip studio (ATMEL Studio). I am not able to start debuging the xx.cof file from the Mikro C compiler. Studio stops at the begining with many NOP command. I blocked all DELAY commnds and all interupts but Studio refuse to work still. Than...
- 27 Jun 2019 14:20
- Forum: mikroC PRO for AVR General
- Topic: Program restart
- Replies: 2
- Views: 2046
Re: Program restart
Dear Filip,
thanks for your advice. But command "asm RJMP _main" is imposible to use in interupt routine - error: Undeclaare identifier "_main".
Don't you know any trick else?
thanks for your advice. But command "asm RJMP _main" is imposible to use in interupt routine - error: Undeclaare identifier "_main".
Don't you know any trick else?
- 13 Jun 2019 17:46
- Forum: mikroC PRO for AVR General
- Topic: Program restart
- Replies: 2
- Views: 2046
Program restart
At TINY2313, program in MikroC.
I need to make a program restart not chip restart. From interupt routine i need program to run from begining again.
Will someone help?.
I need to make a program restart not chip restart. From interupt routine i need program to run from begining again.
Will someone help?.
- 02 Feb 2017 13:14
- Forum: mikroC PRO for AVR General
- Topic: TWI library for RTC chip MCP79400
- Replies: 2
- Views: 6187
Re: TWI library for RTC chip MCP79400
Dear Filip,
many thanks for such ultra quick and excelent advice.
Regards
jiri
many thanks for such ultra quick and excelent advice.
Regards
jiri
- 12 Jan 2017 11:05
- Forum: mikroC PRO for AVR General
- Topic: TWI library for RTC chip MCP79400
- Replies: 2
- Views: 6187
TWI library for RTC chip MCP79400
TWI library for DS1307 is unusable for RTC chip MCP79400. Is there someone who knows how to modify this SW being used for that chip?
- 24 Nov 2016 14:47
- Forum: mikroC PRO for AVR General
- Topic: ATTINY- registr TCNT0
- Replies: 2
- Views: 3082
Re: ATTINY- registr TCNT0
Thanks, Lana.
Your code is simple nice, but a bit functionless. It can be used only when the counter is stoped. Yesterday I discovered that for running counter the command if(TCNT0 == 100) have to be modified to if(TCNT0 > 100), if(TCNT0 >= 100) and stuff.
Regards
Epes
Your code is simple nice, but a bit functionless. It can be used only when the counter is stoped. Yesterday I discovered that for running counter the command if(TCNT0 == 100) have to be modified to if(TCNT0 > 100), if(TCNT0 >= 100) and stuff.
Regards
Epes
- 23 Nov 2016 12:25
- Forum: mikroC PRO for AVR General
- Topic: ATTINY4313 conection of TCNT0 with TCNT1
- Replies: 4
- Views: 3672
Re: ATTINY4313 conection of TCNT0 with TCNT1
uros.cvetinovic
Halo, Halo, are stil alived. I am very curios to your advice.
Regards
Halo, Halo, are stil alived. I am very curios to your advice.
Regards
- 23 Nov 2016 12:22
- Forum: mikroC PRO for AVR General
- Topic: ATTINY- registr TCNT0
- Replies: 2
- Views: 3082
ATTINY- registr TCNT0
Please, can you advice me how to work with registr TCNT0.
All commands like i=TCNT0;
TCNT0=i;
if(TCNTO==100)........;
do not work and I am not able to find what and where is error..
All commands like i=TCNT0;
TCNT0=i;
if(TCNTO==100)........;
do not work and I am not able to find what and where is error..
- 16 Nov 2016 18:04
- Forum: mikroC PRO for AVR General
- Topic: ATTINY4313 conection of TCNT0 with TCNT1
- Replies: 4
- Views: 3672
Re: ATTINY4313 conection of TCNT0 with TCNT1
Hi Uros! Well, I try to explain my problems with timers at ATTINY4313. First I have problems with these commands: TCCR0A=0b01010010; - CTC mode OCR0A=250; OCR0B=250; TCCR0B=0b00000100; Pin B2 is OK with correct signal Pin D5 there is no signal!! But If I change command TCCR0A=0b01010010; - CTC mode ...
- 15 Nov 2016 21:25
- Forum: mikroC PRO for AVR General
- Topic: ATTINY4313 conection of TCNT0 with TCNT1
- Replies: 4
- Views: 3672
ATTINY4313 conection of TCNT0 with TCNT1
I should need to connect the output of TCNT0 wit the input of TCNT1 without any wires. Is it possible at all.
- 09 Apr 2014 17:24
- Forum: mikroC PRO for AVR General
- Topic: display 20x2 -which library
- Replies: 4
- Views: 2893
Re: display 20x2 -which library
Hello, Mr. Timotijevic!
Thanks for your advice, indeed excellent advice. If i have known and could assembler I would not had to buy your C-compiler.
Well, there is left to wait, possibly you will make this library prior to my death.
Regards
Thanks for your advice, indeed excellent advice. If i have known and could assembler I would not had to buy your C-compiler.
Well, there is left to wait, possibly you will make this library prior to my death.
Regards
- 07 Apr 2014 16:55
- Forum: mikroC PRO for AVR General
- Topic: display 20x2 -which library
- Replies: 4
- Views: 2893
Re: display 20x2 -which library
Hello,
I am not sure i can use LCD library for display connected via TWI.
Have you not bz hand any example.
Thanks
I am not sure i can use LCD library for display connected via TWI.
Have you not bz hand any example.
Thanks
- 07 Apr 2014 08:02
- Forum: mikroC PRO for AVR General
- Topic: display 20x2 -which library
- Replies: 4
- Views: 2893
display 20x2 -which library
Will someone help me what library to use for COG display 20x2 and ATMEGA16A.
Parameters of display are here:
http://www.tme.eu/cz/Document/d12fb1cb0 ... BIW-TS.pdf
Thanks
Parameters of display are here:
http://www.tme.eu/cz/Document/d12fb1cb0 ... BIW-TS.pdf
Thanks
- 06 Mar 2014 09:10
- Forum: mikroC PRO for AVR General
- Topic: ATMEGA8A versus Watch Dog
- Replies: 5
- Views: 3099
Re: ATMEGA8A versus Watch Dog
Hello Mr. TimotijeviÄŤ!
Yesterday I probably badly undetstood your demand. During night someone told me you would preferably want files of my tiny project and not of MikroC.
So, here you are the new zipped files.
Regards
J.Sedlak
Yesterday I probably badly undetstood your demand. During night someone told me you would preferably want files of my tiny project and not of MikroC.
So, here you are the new zipped files.
Regards
J.Sedlak
- 05 Mar 2014 15:25
- Forum: mikroC PRO for AVR General
- Topic: ATMEGA8A versus Watch Dog
- Replies: 5
- Views: 3099