programming ATTINY2313 A

Status
Not open for further replies.

singhsaket

Newbie level 3
Joined
Oct 22, 2014
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
15
i have a couple of questions which need to be done in 2 hours. they are:
1) Write a program which Displays “47”, i.e. “4"on Digit 1 and “7” on Digit 2. Hint: the 4 and 7 only appear to display simultaneously -they are multiplexed (4, then 7, then 4,...).

2) Make an LED chaser. Turn on Digit 1 segments a,b,c,d,e,f in sequence, displaying each for exactly 160 ms, one at a time.

3) Up - Down Counter. The 2 digit count which is displayed is incremented with one push -button and decremented with the other. Sw1,2 = PD3,PB4
. Use masking techniques to read the inputs.


im using Atmel Studio. there are 2 seven seg displays, common anode.
kindly help please
 

All the 3 different features to be implemented in the same project or are they 3 different projects using ATtiny2313 ?

If all the 3 modes are part of same project then how do you switch between different modes ?
 

yeah all the three in the same project. i run one code at a time. and the up down counter involves two switches one will increment the count, and the other will decrement it.
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…