Accessing pixhawk aux pins

Hell all

How can I access pixhawk auxiliary pins independently ? From the documentation aux pins 54 and 55 should be digital outs. Can I connect those pins to some digital sensors and measure the pulses using pixhawk ?

Please reply

Thanks in advance

You can optionally use the pixhawk AUX pins as GPIOs. Take a look at drivers/camera_trigger as an example.