void setup() { DataConn.begin(BAUDRATE); gFlagCaptureRunning = 0; pinMode(13,OUTPUT); digitalWriteFast(PIN_LED,1); // raw: for 5v0 //(void)stonycam.init( PIN_RESP, PIN_INCP, PIN_RESV, PIN_INCV, PIN_INPHI, PIN_ANALOG1, PIN_ANALOG2, // Stonyman::DEFAULT_VREF_5V0, Stonyman::DEFAULT_NBIAS_5V0, // Stonyman::DEFAULT_AOBIAS_5V0, Stonyman::DEFAULT_GAIN_5V0, // Stonyman::DEFAULT_SELAMP_5V0 ); // amp: for 3v3 //(void)stonycam.init( PIN_RESP, PIN_INCP, PIN_RESV, PIN_INCV, PIN_INPHI, PIN_ANALOG1, PIN_ANALOG2, // 37,48,48,1,1); // russ: Boyan's values (void)stonycam.init( PIN_RESP, PIN_INCP, PIN_RESV, PIN_INCV, PIN_INPHI, PIN_ANALOG1, PIN_ANALOG2, SMH_VREF_3V3,SMH_NBIAS_3V3,SMH_AOBIAS_3V3,SMH_GAIN_3V3, SMH_SELAMP_3V3); }
void setup() { Serial.begin(BAUDRATE); pinMode(13,OUTPUT); pinMode(1,OUTPUT); digitalWrite(1,0); digitalWrite(PIN_LED,1); // raw: for 5v0 //(void)stonycam.init( PIN_RESP, PIN_INCP, PIN_RESV, PIN_INCV, PIN_INPHI, PIN_ANALOG, // Stonyman::DEFAULT_VREF_5V0, Stonyman::DEFAULT_NBIAS_5V0, // Stonyman::DEFAULT_AOBIAS_5V0, Stonyman::DEFAULT_GAIN_5V0, // Stonyman::DEFAULT_SELAMP_5V0 ); // amp: for 3v3 //(void)stonycam.init( PIN_RESP, PIN_INCP, PIN_RESV, PIN_INCV, PIN_INPHI, PIN_ANALOG, // 35,50,50,1,1); // amp: for 3v3 // russ: Boyan's values (void)stonycam.init( PIN_RESP, PIN_INCP, PIN_RESV, PIN_INCV, PIN_INPHI, PIN_ANALOG, SMH_VREF_3V3,SMH_NBIAS_3V3,SMH_AOBIAS_3V3,SMH_GAIN_3V3, SMH_SELAMP_3V3); }