Search found 10 matches

by msgiri
23 Aug 2013 12:13
Forum: Website & Forums General Discussion
Topic: Timer1 programming of AVR with MikroC for AVR
Replies: 1
Views: 2733

Timer1 programming of AVR with MikroC for AVR

While working with ATMEGA32 in MikroC for AVR , the register OCR1A of timer1 is not recognised by compiler.
I am unable to figure out.
by msgiri
30 Sep 2011 09:32
Forum: User Projects
Topic: PIC16F877A programming in MIcro C,,,,,,HELP PLEASE,,,,
Replies: 1
Views: 2076

Re: PIC16F877A programming in MIcro C,,,,,,HELP PLEASE,,,,

It should be simple to do so. Can you provide the connection of BT module to PIC, output of BT module and what exactly you want the PIC to do
by msgiri
26 May 2011 10:23
Forum: User Projects
Topic: Need help with building MikroC code
Replies: 2
Views: 2469

Re: Need help with building MikroC code

please try the modified code and let me know ////////////////////////////////////////////////////////////////////////////// //Variable declarations unsigned char temp; unsigned char serial_number[8]; char i; // LCD module connections sbit LCD_RS at RB4_bit; sbit LCD_EN at RB5_bit; sbit LCD_D4 at RB0...
by msgiri
26 May 2011 09:51
Forum: User Projects
Topic: Help needed for increase and decrease of a number
Replies: 3
Views: 2805

Re: Help needed for increase and decrease of a number

Have you de-bounced the input switches? Since mechanical switches vibrate the microcontroller takes input as multiple inputs. Hence customarily we must give a delay of 10 ms for next read after first press.
by msgiri
26 May 2011 09:30
Forum: User Projects
Topic: interfacing 16F877A with the PC
Replies: 3
Views: 2429

Re: interfacing 16F877A with the PC

The best way to diagnose RS232 problems are: (i) short 2 and 3 pin of DB9 and type from Hyper terminal. Whatever you are tying in hyper terminal, if you are receiving back lines are ok (ii) Take out the PIC and short Tx,Rx and repeat (i) , if OK MAX 232 is also OK. (iii) Now find the bug in the prog...
by msgiri
03 Jan 2011 15:32
Forum: Website & Forums General Discussion
Topic: activating watchdog timer in16F877A
Replies: 1
Views: 1802

Re: activating watchdog timer in16F877A

Corrected the code as
asm{
__config(_WDT_ON)
}asm
by msgiri
03 Jan 2011 15:22
Forum: Website & Forums General Discussion
Topic: activating watchdog timer in16F877A
Replies: 1
Views: 1802

activating watchdog timer in16F877A

Sir,
I have programmed bootloader in 877A
How cam I activate WDT?
I tried
asm
__config(_WDT_ON);
asm

Compilation is ok but when loaded, it does not work.

Thanks
by msgiri
14 Dec 2009 11:31
Forum: mikroC General
Topic: How to format 10bit value into two chars from int
Replies: 6
Views: 2276

You have to provide the decimal value of the 10 bit number and the code works ok.

Hope this solves your problem
by msgiri
01 Dec 2009 10:12
Forum: mikroC General
Topic: simulation of Keypad_Read()
Replies: 5
Views: 2596

Thank you very much, but I could not achieve it.
by msgiri
21 Nov 2009 09:55
Forum: mikroC General
Topic: simulation of Keypad_Read()
Replies: 5
Views: 2596

simulation of Keypad_Read()

Keypad_Init() is configured in PORTB
Is it possible to simulate the keypad entry during debugging b changing the bits of PORTB?

Go to advanced search