Modified to work on a Leonardo board