15 lines
290 B
C
15 lines
290 B
C
#ifndef TOOL_H
|
|
#define TOOL_H
|
|
|
|
#include <Arduino.h>
|
|
#include <Wire.h>
|
|
#include "esp_log.h"
|
|
#include "Watchdog.h"
|
|
|
|
void scanI2C();
|
|
|
|
/* Funkcja przyjmuje adres jako argument i zwraca true gdy urządzenie odpowiada, w przeciwnym wypadku false */
|
|
bool isI2CDevPresent(uint8_t address);
|
|
|
|
#endif
|