Ok I got something working here is the simulation with the code:
Now comes the question if there is other way to do the code more compact without all these repetitive if else statements? Any advice?
Ok I got something working here is the simulation with the code:
Now comes the question if there is other way to do the code more compact without all these repetitive if else statements? Any advice?