drum controller statement... (by mark hodsman)
Wonder if anyone talented coder would consider adding drum controller or sequencer into what is a great little app.
The idea is that a variable from a list is passed (on a rung true condition) directly to a port. The list pointer is then incremented.
Say we have a list {0x01,0xFF,0x80} etc then output PORTA receives on:
position 1 - 0b00000001
" 2 0b11111111
" 3 0b10000000
and then loops around. This makes neat light sequencer etc.
Extending the idea it could apply to input ports also so on a certain input port condition we check 8 inputs all at once.
Allen Bradley has something SFC (sequential function charts) I believe but its been many years since I played with them.