Grove electromagnet

Is it possible to control this without using arguing code? I’d like to simply turn it on and off using a remote.

Thanks

“arguing code”?
Do you mean Arduino code?