sdasd
Diff: rohm-rpr0521/rpr0521_driver.h
- Revision:
- 3:83c4958e4bdc
- Parent:
- 0:0bcc203c5c75
diff -r 145f11782373 -r 83c4958e4bdc rohm-rpr0521/rpr0521_driver.h --- a/rohm-rpr0521/rpr0521_driver.h Tue Sep 20 11:15:09 2016 +0000 +++ b/rohm-rpr0521/rpr0521_driver.h Thu Jul 01 15:47:03 2021 +0000 @@ -18,11 +18,11 @@ #include "../../rohm-sensor-hal/rohm-sensor-hal/rohm_hal.h" //types /* rpr0521 driver*/ -uint8_t rpr0521_readId(); -void rpr0521_wait_until_found(); +uint8_t rpr0521_readId(int n); +void rpr0521_wait_until_found(int n); void rpr0521_soft_reset(); -bool rpr0521_read_data(uint16_t* data16); -void rpr0521_initial_setup(); +bool rpr0521_read_data(uint16_t* data16,int n); +void rpr0521_initial_setup(int n); void rpr0521_clear_interrupt(); #endif