Function rc_encoder_pru_cleanup#

Function Documentation#

void rc_encoder_pru_cleanup(void)#

Stops the PRU encoder counter and closes file descriptors. This is not strictly necessary but is recommended that the user calls this function at the end of their program.