I think you are mistaken. The normal (default) operation of all port lines are as regular I/O, unless you configure the relevant timer control registers to toggle the port lines on compare. The default values cause the port lines to be as normal I/O. On Nov 17, 2012 3:39 PM, "Marcelino Macome" <marcelino.macom...@gmail.com> wrote:
> Hi guys I am emailing you to request an help. I am a beginner on c > programming, I have built a circuit to control a stepper motor, with > atmega8535. I have realized that the wiring was not according to the > architecture of the MCU. That is I have dedicated pin19 which is PD5, to > send the instruction to move CW/CCW. But this pin19 function as an OC1A on > normal operation. My question is how do I disable this normal function to > what I need now? > I thank you in advance. > Marcelino > > _______________________________________________ > AVR-GCC-list mailing list > AVR-GCC-list@nongnu.org > https://lists.nongnu.org/mailman/listinfo/avr-gcc-list > >
_______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list