REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
redac.h
Go to the documentation of this file.
1// Copyright (c) 2024 anabrid GmbH
2// Contact: https://www.anabrid.com/licensing/
3//
4// SPDX-License-Identifier: MIT OR GPL-2.0-or-later
5
6#pragma once
7
8#include <redac/redac.h>
9
10namespace platform {
11
12class REDAC_HAL_Dummy : public REDAC_HAL {
13public:
15
16 bool write_adc_bus_mux(const std::array<int8_t, 8> &channels) override { return true; }
17
18 void reset_adc_bus_mux() override {}
19
20 float read_temperature() const override{return 22.0f; }
21};
22
23} // namespace platform
bool write_adc_bus_mux(const std::array< int8_t, 8 > &channels) override
Definition redac.h:16
void reset_adc_bus_mux() override
Definition redac.h:18
float read_temperature() const override
Definition redac.h:20
Definition leds.h:7