Pull requests help you collaborate on code with other people. As pull requests are created, they’ll appear here in a searchable and filterable list. To get started, you should create a pull request.
There is an example of a programme that differentiates between long and short push-button pushes on the Arduino.cc website, but I was not taken it. However their was an example I did like the look of, ...
The code will take input from pin 8 as the clock signal and pin 9 as the push button. It will transmit data through pins A4 and A5 into and OLED which will spell out what you are putting in in morse ...