It is not a drop-in replacement. It would be a mistake to put 5V on any of the pins, although the internal regulator can handle it. Also, even something as simple as printing "Hello World" is a little different:
Note the use of the SerialUSB object instead of just Serial. Also, like the Arduino Due and Zero, you need a "while spin" for the COM link to establish itself. Most things are the same, but you should expect a few gotchas along the way.
Jack, W8TEE
On Thursday, April 26, 2018, 9:38:03 AM EDT, W2CTX <w2ctx@...> wrote:
A friend of mine did not think this is a "drop-in" replacement.?
I checked the pin-out and looks like SDA and SCL are different?
I also wonder if being 3volt rather than 5volt chip is a problem?