8 lines
180 B
C
8 lines
180 B
C
#include "pico/stdlib.h"
|
|
#include "hardware/pio.h"
|
|
|
|
// public API
|
|
//
|
|
int nec_rx_init (PIO pio, uint pin);
|
|
bool nec_decode_frame (uint32_t sm, uint8_t *p_address, uint8_t *p_data);
|