sir i connected a push button to pin 1^1Using WINAVR I used this:
PORTA = 0b10000000;
DDRA = 0b01111111;
DDRB = 0b00001000;
Where PORTA is the output of PORTA, and DDRA is the data direction register of Port A. On the AVR controllers setting a bit in data direction register to "1" causes the corresponding port pin to be an output.
sir i have attached the schematic diagram of my circuitThis looks like the blind leading the blind. Best to wait for somebody who understands your question.
|Thread starter||Similar threads||Forum||Replies||Date|
|S||Is it required to connect MOSFET or BJT with the motor ,when interfacing with my microcontroller ESP32??||General Electronics Chat||3|
|F||Mastech dc power supply HY3003D-3 Schematic required.||Datasheets, Manuals & Parts Identification||1|
|Daisy chain controller??||General Electronics Chat||5|
|J||Finding Capacitance Required To Produce A given Reactance||General Electronics Chat||3|
|How much training data is required||Machine Learning, AI & Neural Networks||2|
by Jake Hertz