mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
20 lines
617 B
C
20 lines
617 B
C
/* ******************************** */
|
|
/* Warning! Don't modify this file! */
|
|
/* ******************************** */
|
|
#ifndef __PikaStdDevice_ADC__H
|
|
#define __PikaStdDevice_ADC__H
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include "PikaObj.h"
|
|
|
|
PikaObj *New_PikaStdDevice_ADC(Args *args);
|
|
|
|
void PikaStdDevice_ADC_enable(PikaObj *self);
|
|
void PikaStdDevice_ADC_init(PikaObj *self);
|
|
void PikaStdDevice_ADC_platformEnable(PikaObj *self, char * pin);
|
|
float PikaStdDevice_ADC_platformRead(PikaObj *self, char * pin);
|
|
float PikaStdDevice_ADC_read(PikaObj *self);
|
|
void PikaStdDevice_ADC_setPin(PikaObj *self, char * pin);
|
|
|
|
#endif
|