cmd_i2ctools.h 486 B

1234567891011121314151617181920
  1. /* cmd_i2ctools.h
  2. This example code is in the Public Domain (or CC0 licensed, at your option.)
  3. Unless required by applicable law or agreed to in writing, this
  4. software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  5. CONDITIONS OF ANY KIND, either express or implied.
  6. */
  7. #pragma once
  8. #include "esp_err.h"
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. void register_i2ctools(void);
  13. esp_err_t cmd_i2ctools_scan_bus(FILE *f,int sda, int scl);
  14. #ifdef __cplusplus
  15. }
  16. #endif