Hi, thanks for the reply.
I was going to post the .ino code and some other files but I am currently not able to, as I am a new user. Apparently the forums require that I post more and earn some badges before I can attach files, so I resorted to uploading to a google drive. Apologies for that, too.
I'll work on the pics and schematic and upload them as soon as I am able to.