@Paulskpt Hi members, FYI I created a Version_2 of the source code of this repo.
Adding double type of use for the Grove Port A of the M5Cardputer: 1) I2C communication; 2) reading buttons of a M5Stack mini doublebutton unit. Further enhanced the functionalities of the M5Cardputer Arduino sketch.