I understand the part you told me that I didn't set currentState to LED7_IN_OUT,
but the last part you said I afraid that I could not total understand as a poor English speaker like me....Sorry... Could you show me an example please.. It's been a little bit hard for me to read these much vocabulary which is difficult for me... sorry...
If we carry on like this I will end up writing the whole program for you. What I was aiming to do was to give you examples to work from.
Look at your LED7_IN_OUT code and work through what it does by writing down the value of each variable as if you were the computer. You should see the problem of the confusion that I mentioned.
I suggest that you start by adding some test states that simply print messages and move between them. This will give you practice of defining and using states. For now write the code for the single LED fading states as hard code in the state within switch/state. You can make it more compact later.
Once you have one LED fading up/down you can simply copy/paste it into another state and change the LED number.