Everytime you press the button on ATOM Lite, you can send commands to MyCobot with ESP-NOW broadcast. You can also synchronize all MyCobots installed the ESP-NOW enabled Transponder.
You need to write the Unofficial Transponder into MyCobot Basic to support ESP-NOW.
The program can be compiled on the PlatformIO environment. I have tested the program with PlatformIO IDE for VSCode on Windows 10.
$ git clone https://github.com/3110/mycobot-atom-controller
$ cd mycobot-atom-controller
$ platformio run --target=upload
If ESP-NOW is enabled at startup, the LED on ATOM Lite turns yellow.
When the button on ATOM Lite is pressed, MyCobot commands are sent to MyCobot running the ESP-NOW enabled Transponder.
The LED on ATOM Lite turns blue when the gripper opens and red when it closes.