Обновление

This commit is contained in:
cfif 2025-10-09 10:58:41 +03:00
commit 79440494ce
3 changed files with 39 additions and 0 deletions

12
Inc/Adc.h Normal file
View File

@ -0,0 +1,12 @@
//
// Created by cfif on 11.09.22.
//
#ifndef ADC_H
#define ADC_H
#include "AdcIO.h"
uint16_t AdcGet(tAdcIO *io, uint32_t timeout);
#endif //ADC_H

10
Src/Adc.c Normal file
View File

@ -0,0 +1,10 @@
//
// Created by cfif on 17.11.22.
//
#include "Adc.h"
#include "SystemDelayInterface.h"
uint16_t AdcGet(tAdcIO *io, uint32_t timeout) {
return io->get(io->env, timeout);
}

17
modular.json Normal file
View File

@ -0,0 +1,17 @@
{
"dep": [
{
"type": "git",
"provider": "HVAC_M7",
"repo": "AdcInterface"
}
],
"cmake": {
"inc_dirs": [
"Inc"
],
"srcs": [
"Src/**.c"
]
}
}