arduino M0 pro alternative

Hi i have made a program on the M0 pro but as the M0 pro has been retired is there another alternative arduino i can use and what adjustments do i need to make to the program for it to work on that arduino

The project im working on is a device that measures the resistance of cables and it will mark them as pass if its within a certain range, the arduino im using is used to power a adafruit thermal printer and a LCD with I2C module

thanks,

You need to tell us what capabilities your project requires from the micro-processor.

For example, would an Uno be suitable?

...R

there are many alternatives, with the same MCU - Zero, MKRs, M0 from other manufactures

The most obvious answer would be the Zero, which uses the same microcontroller and also has the EDBG. The pinout almost matches, two of the GPIO pins are switched though.

The project im working on is a device that measures the resistance of cables and it will mark them as pass if its within a certain range, the arduino im using is used to power a adafruit thermal printer and a LCD with I2C module

If you like to stick with the SAMD architecture but don't need the onboard debugger or the shield compatibility, I'd consider the MKR ZERO:
https://store.arduino.cc/usa/arduino-mkrzero
I think the breadboard-friendly form factor is a big improvement and the price is reasonable.

Some of the Adafruit M0 boards look nice too.