Hi
I've posted some before and got helped by it so Im hope I can get some help with this to.
The code below is a software that is implementing smart control of a entire light system on a old car without electronics. I've had some trouble figuring out how to get the InteriorLightFadeOut() function to not lock up the rest of the code during active state.
Further more, I really could use some help how to optimize and perhaps get Classy about it
I know I can put some of this code in classes but not sure what and how. I have trouble understanding classes and their use.
I will use direct I/O with bits when progressing my code, it is a smart way to get less code and make several ports high or low at the same time.
I'm posting my code for you to look at.
Thanks in advance
BelysningKomplett_V0-1.ino (9.01 KB)