New laser module now program doesn't work

I have just had to replace my 2 pin 500mw laser module as it died with a 2500mw 3 pin laser module.
GitHub will not connect at all.

What possible solutions are there?
Do I need to reinstall the program?
Do I need to clear the eprom and how can I do that if it doesn’t connect?
Many thanks