collab/PineapplePad

git clone https://git.julia.blue/collab/PineapplePad

Joseph RyanAdd sfx0e8c935

master
319 B15 linesraw
1#ifndef SLIDEPOT_H
2#define SLIDEPOT_H
3
4// ADC initialization function, channel 5, PD2
5// Input: none
6// Output: none
7void ADC_Init(void);
8
9//------------ADC_In------------
10// Busy-wait Analog to digital conversion, channel 5, PD2
11// Input: none
12// Output: 12-bit result of ADC conversion
13uint32_t ADC_In(void);
14
15#endif