but it did not work.
You keep repeating yourself, so I am, too.
Please, read and digest:
You posted your code, thank you. That's one out of three. How about a coherent description of your project(No more one-liners, it doesn't help), and a schematic(necessary, no longer "possibly").
Thanks