Welcome to the Parallax Discussion Forums, sign-up to participate.
johnproko wrote: »
Thank you for your video and code.
yet I have the propeller that has no build in a/d.
Thus my question is how to connect an external, and the code needed from there onwards.
#include "simpletools.h" // Include simple tools
const int DATA = 2;
const int CLK = 1;
const int CS = 0;
int main() // Main function
int ADC0831 = shift_in(DATA, CLK, MSBPOST, 9);
print("ADC0831 = %.2f V%c\n", ADC0831 * 0.0196);