Pierwszy commit - konfiguracja automatyczna

This commit is contained in:
2026-02-18 22:31:01 +01:00
commit 4f456682bc
163 changed files with 66965 additions and 0 deletions

28
mocks.h Normal file
View File

@@ -0,0 +1,28 @@
#include <stdint.h>
#include <math.h>
#include <string.h> // do memset
// Definicje typów z tdefs.h
typedef uint8_t u8;
typedef uint16_t u16;
typedef uint32_t u32;
// Prosta struktura dla sygnałów binarnych (wejścia/wyjścia logiczne)
struct binary_io
{
int val; // 0 lub 1
};
// Struktury parametrów analogowych (np. przekładniki)
struct param_I_struct
{
float znam_wtor; // np. 1.0 lub 5.0 A
float znam_pierw; // np. 400.0 A
};
struct param_U_struct
{
float znam_wtor; // np. 100.0 V
float znam_pierw; // np. 110000.0 V
};