Unmesh Sawant
Junior Member level 2
Hello,
I am writing a programme for a sequential circuits I am doing a very basic programme but since i am new to it, its getting complicated please help me out.
I am trying to programme atmega 328 so that i can use its 6 pins(output) and 1 Pin as input from switch but i want to use a set of these 2 . I mean 6 pins and 1 input for first and another 6 pins and 1 input for second can i run different things in one programe.
MY plan is to built a turn signal circuit a left and right so for that i need this {6 pins for lights and 1 input from switch for turning LEFT }and another 6 pins and 1 pin for turning RIGHT . also i need to assign them in sequence i.e 1&2, 3&4, 5&6 for left and 7&8, 9&10, 11&12.
I will use anolog pins as input from switch. Please help me in writhing the progamme or please send the programme if possible i need it serously
Thanks in Advance
I am writing a programme for a sequential circuits I am doing a very basic programme but since i am new to it, its getting complicated please help me out.
I am trying to programme atmega 328 so that i can use its 6 pins(output) and 1 Pin as input from switch but i want to use a set of these 2 . I mean 6 pins and 1 input for first and another 6 pins and 1 input for second can i run different things in one programe.
MY plan is to built a turn signal circuit a left and right so for that i need this {6 pins for lights and 1 input from switch for turning LEFT }and another 6 pins and 1 pin for turning RIGHT . also i need to assign them in sequence i.e 1&2, 3&4, 5&6 for left and 7&8, 9&10, 11&12.
I will use anolog pins as input from switch. Please help me in writhing the progamme or please send the programme if possible i need it serously
Thanks in Advance