Need help with codes (continuity cable tester with lcd 16x2 i2C)

Yes, i had to change delay 1000 or higher to avoid flickering on LCD because i like it detects cable in real time when plug/unplug without using switch.

I was thinking if is possible i can run multiple codes for 12 wires, 8 wires...
I did some research in the forum about call function(1) (2). Very interesting!

Right now i have 2 types of cable to test (8 & 12 cond) and i am wasting 2x Arduino Mega for each... i am still learning