Button control

I found this software but you’re done. It needs to be a standalone code like the ardunio nano udp_machine code. Can you help?