Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2013-04-04 | updated: 2013-04-04

Simple debounced buttons for propeller projects. There is a single-shot press, a repeatable press, and timed press function. These are all foreground functions so no extra cogs needed and they were intentionally kept simple. See code comments for details.


Original File Upload
Package icon ButtonDemo2_-_Archive.zip20.26 KB


[originally posted by Anonymous on 2011-02-02 23:43:09] Thank you! Nice, simple and effective.


I have 'played' with your Button object, and want to use it in my application. One of the actions I want to have, is short and long pressed ractions

How can i make this, with your button objects:

- pressed button1 short (< 0.5 sec) reaction short

- pressed button1 long (> 1 sec) reaction long, also when you continuis the button pressed

thanks for input,


Rob van den Berg