fuckit: clean slate

This commit is contained in:
Vasily Davydov
2022-10-24 12:16:38 +03:00
parent e2cbbf4322
commit 84e50cdec7
95 changed files with 280 additions and 3791 deletions

View File

@@ -0,0 +1,32 @@
/*
* HMP60.cpp
*
* Created on: 20 Oct 2022
* Author: evgenymeshcheryakov
*/
#include <HMP60.h>
HMP60::HMP60 ()
: sens{ 241 }, regRHint{ &sens, 0x0100 }, regTint{ &sens, 0x0101 },
regRHfloat{ &sens, 0x0000 }
{
sens.begin (9600);
}
int
HMP60::readRH ()
{
return (regRHint.read ()) / 10;
}
int
HMP60::readT ()
{
return (regTint.read ()) / 10;
}
HMP60::~HMP60 ()
{
// TODO Auto-generated destructor stub
}