You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
312 B

#pragma once
#include <stdint.h>
namespace iflytop {
using namespace std;
class ZIADC {
public:
virtual ~ZIADC(){};
virtual int32_t get_adc_value() {
int32_t adcval = 0;
get_adc_value(adcval);
return adcval;
}
virtual int32_t get_adc_value(int32_t &adcval) = 0;
};
} // namespace iflytop