1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

ips/register: add default config for Dino

Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
This commit is contained in:
Niklas Eiling 2024-02-14 11:58:29 +01:00 committed by Niklas Eiling
parent dc270de8f0
commit ee068621e6

View file

@ -43,6 +43,7 @@ bool Register::check() {
}
// This is Dino specific for now - we should possibly move this to Dino in the future
setRegister(0, static_cast<uint32_t>(1000)); // set Dino to a rate of 20 kHz
uint32_t rate = getRegister(0);
float scale = getRegisterFloat(1);
float offset = getRegisterFloat(2);