Grove - Electromagnet and Grove Base Hat (Pi zero)

Dear all,
I am having difficulties actually making the electromagnet grove (Grove - Electromagnet - Seeed Wiki) to work.
The driver seems to be written for the GrovePi_Plus and not for the Grove Base Hat.

Hence my question, is there a way for these two to work together?
Kind salute,