forked from Akcelerometry_drgania_WMT/PI_mikrokontroler
Wgranie zmian do repozytorium
This commit is contained in:
14
releases/v1.4.1/include/Tool.h
Normal file
14
releases/v1.4.1/include/Tool.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user