##// END OF EJS Templates
ADC-v1...
ADC-v1 Se usa un vref de 3.3 V y solo se muestran los valores en el Serial Plotter

File last commit:

r1:fa5f54c0f1e9
r1:fa5f54c0f1e9
Show More
ADC_ZX47.ino
19 lines | 405 B | text/x-arduino | ArduinoLexer
JesusTapia-dev
ADC-v1...
r1 #define pinADC 15
int analogValue=0;
//int IPP=;
float Vout=0;
int VminPot=1;//con esto quiere decir que potencias
float Vref=3.3;// Voltaje de referencia
void setup() {
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
analogValue = analogRead(pinADC);
Vout = analogValue * Vref / 4095;
Serial.print(Vout);
Serial.print(" ");
Serial.println(VminPot);
}