Well... Perhaps it seems that need to understand and modify the entire project rather than making such simple changes.
Maybe you probably also need knowledge of languages other than Arduino (C++). (Perhaps python?)
I'm really sorry, I can't help you any further because It seems beyond the scope of the effort I can put into one topic. ![]()