Jestin_cubetech
Advanced Member level 1
- Joined
- Jun 24, 2012
- Messages
- 499
- Helped
- 76
- Reputation
- 152
- Reaction score
- 73
- Trophy points
- 1,328
- Activity points
- 3,697
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You have to OR the output with another variable which holds the peak value as LSB to MSB values..
How did you do that (fall down effect).. If you post that portion here, it will be helpful to others............atmega-32 single bar graph LED Proteus File
If you already have the code for other operations then post it I think i can modify
- - - Updated - - -
----------------------- LOGIC -----------------------
Run a background timer of (say) .25 sec, that will give interrupt for every 0.25 sec..
after that there will be the variable which will decrement(shift) for every interrupt and also load the value of ordinary peak detector if it is more than the new variable..
in while do as i already said...