avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Help request


From: Royce Pereira
Subject: Re: [avr-gcc-list] Help request
Date: Sat, 17 Nov 2012 15:51:45 +0530

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" <address@hidden> 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
address@hidden
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list


reply via email to

[Prev in Thread] Current Thread [Next in Thread]