Leonardo and Teensy

Good Morning everyone,

Probably a silly question and apologies if asked before,

Is it possible for sketch that is written for Teensy to be uploaded onto a Leonardo? Can the Leonardo take the place of a Teensy using the same sketch? :grinning:

Thanks in advance

Have a great day

Which Teensy?
https://www.pjrc.com/teensy/

JCA34F:
Which Teensy?
Teensy USB Development Board

Hi JCA34F,

Do all Teensy boards not use the same sketches? I have not used one personally to be honest, hence the question. I need to know if I can continue to create sketches in the way that I would for my arduinos and use them on a Teensy or would I have to make changes.

In particular, an LC or any board that is capable of using Bounce, elapsedMillis and rotary libraries

Thanks for your reply