forked from Akcelerometry_drgania_WMT/PI_mikrokontroler
Initial commit: PI_mikrokontroler changes
This commit is contained in:
14
firmware_adxl345_spi/include/Tool.h
Normal file
14
firmware_adxl345_spi/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