I have searched the internet for months without any recent result and I am beginning to think that I should discard the project. (And my future projects. Hehe.)
My intention was to use a modified version of an LED chaser code, but I realised that the delay() function is no good for my needs. I know that I have to use interrupt or timer (Or is it the same?), but I can not make it work. Sometimes only one part of the code works and sometimes nothing works - So I always ending up deleting it and trying to find something else that are supposed to work.
The main program only has to make the 16 outputs HIGH one at a time, and the others LOW.
I hope it is also acceptable for me to ask for code-snippets/links/approaches for the following things as well:
- 1 rotary encoder for BPM (Maybe more options if possible. But KISS)
- An LCD display for BPM (Maybe more options if possible. But KISS)
- Forward/Backwards in pause mode
- Random mode
I would be really grateful if any of you could help me.