k8055m_reset -- Restore card to power on defaults
k8055-pic18f access library
#include "k8055m.h" int k8055m_reset(int cardNumber);
Restore the power on default configuration and output port settings of card number cardNumber. All digital ports will be set to normal mode and off. All pwm ports will be set to pwm mode and 0% duty cycle. All counters will be reset to zero and configured for 1 ms debounce time.
Returns 0 on success, -1 on error.