Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
1154267f2This file is pinned to the selected release. Download the original to open it in your design tool.
/*
Copyright 2021-2025 Marc Ketel
SPDX-License-Identifier: Apache-2.0
*/
#ifndef AnalogComparator_H
#define AnalogComparator_H
class AnalogComparatorClass
{
public:
AnalogComparatorClass();
void init(void);
void loop(void);
bool hasTriggered(void);
void trigger(void);
private:
bool triggered = false;
};
extern AnalogComparatorClass AnalogComparator;
#endif