39 void initPic(
const char* socket, PicFreq freq);
63 void startPwm(
const char *socket,
int channel,
int pulse,
int period,
int prescaler);
70 void stopPwm(
const char* socket,
int channel);
void stopPwm(const char *socket, int channel)
Stop PWM (initPic or configurePwm must called before)
void initPic(const char *socket, PicFreq freq)
PIC initialization (call before PIC first usage)
int getAdcVoltage(const char *socket, int channel)
Get ADC voltage (0...4000 mV) (configureAdc must called before)
void configureAdc(const char *socket, int channel)
Configure PIC as ADC (supported by Tibbit #31)
void startPwm(const char *socket, int channel, int pulse, int period, int prescaler)
Start PWM (configurePwm must called before)
void configurePwm(const char *socket, int channel)
Configure PIC as PWM (supported by Tibbit's #16, #17 and #31)
Class for PWM/ADC PIC16F1824 tibbit control (Tibbit #16, Tibbit #17 and Tibbit #31) ...
Definition: pic.h:26