Forum Replies Created
the above instrustion dosen’t make ur JTAG permanantly.
this will enable if u burn another program without above instrustion the JTAG will enable .
to permantly enable disable u have to confogure the fusebits.
set DDRx regeister to set i/o pin of ports.
For example DDRA=0xF0; //this shows PA0-PA3 are input pins and PA4-PA7 are ouput.
you can prefer the following links:
this have enough kowlege about in-built PWM channel
this macros are under the “inttypes.h” header file. this macro are used when u need to deal with single i/o pin of avr microcontrollers.
this macro shows PB0 and PB1 are output and rest pins are input pins
Plz varify that winavr is properly installed or not. because as u install winavr, avr-gcc will be installed automatically
the the output current of controllers are not sufficient to drive a dc motor with full efficiency. It need motor driver circuits. this can be made by 4 TIP122 or TIP 127 transistor. the option is to use L293D IC which can drive 1A currunt. the following link may help u to know abt L293d
Both MikroC and MPLab have their plus points. both have their in-built libraries of peripherals like adc, lcd etc.In MPLAB, programmer have to include header file of corresponding peripheral but in MikroC, there is no need to include header files.
MikroC provides some good facility like graphical LCD bitmap editor, usart terminal etc.
mplab compiler is created by Mirochip tech. so tutorial on mplab c are widely available.