Commit Graph

19 Commits

Author SHA1 Message Date
Peter Barker c9fd7ee00d AP_Button: add and use HAL_BUTTON_ENABLE 2021-08-25 19:03:42 +10:00
Peter Barker f465a9336e AP_Button: add debounce on PWM input
Co-authored-by: jmachuca77 <jaime@element.aero>
2021-08-18 18:47:28 +10:00
Andrew Tridgell fe6ac6a581 AP_Button: fixed formatting of pin arming check 2021-08-05 09:43:35 +10:00
Andrew Tridgell ef93165f28 AP_Button: added arming check 2021-07-24 18:18:57 +10:00
Peter Barker e5eedfd741 AP_Button: log auxillary function invocations 2021-04-29 13:00:40 +10:00
Yash Vadi b450740fb0 AP_Button: update BTN_FUNCx param descriptions 2021-02-26 12:30:13 +11:00
Pierre Kancir a631ca4eac AP_Button: add AUX_SWITCH_PWM_TRIGGER_LOW and AUX_SWITCH_PWM_TRIGGER_HIGH 2021-02-10 18:48:06 +11:00
Patrick José Pereira 001e516fa7 AP_Button: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Hwurzburg 9728dee344 AP_Button: expand info in metadata 2020-12-29 11:11:40 +11:00
Peter Barker 4b6e4e10ed AP_Button: allow RC Channel function to be specified for a button
Function will be executed on transition
2020-12-01 10:06:57 +11:00
Peter Barker 164bd95538 AP_Button: allow PWM to be used for button input 2020-12-01 10:06:57 +11:00
Peter Hall ecd7e12dd3 AP_Button: add crude debouncing and get_button_state function 2020-03-19 14:59:34 -07:00
Peter Hall 0226d28d4b AP_Button: make singleton 2019-12-10 09:29:52 +09:00
Peter Barker 470e88f8b3 AP_Button: use send_to_active_channels() 2019-06-06 12:41:48 +10:00
Patrick José Pereira c4825a6d02 AP_Button: Add missing header guard
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-05-20 23:50:23 +01:00
Andrew Tridgell 70e445d040 AP_Button: remove more px4 remnants 2019-02-27 20:32:37 +11:00
Mathieu OTHACEHE 152edf7189 Global: remove mode line from headers
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
2016-10-24 09:42:01 -02:00
Andrew Tridgell 8e959d4704 AP_Button: check for space before sending BUTTON_CHANGE 2016-07-24 07:48:36 +10:00
Andrew Tridgell 2ce7b465c1 AP_Button: button monitoring library
library to monitor changes to button state
2016-07-22 15:01:20 +10:00