adding bcal arduino code - havent changed the button mode