void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
}
void loop() {
// put your main code here, to run repeatedly:
int adcVal = 0;
adcVal = analogRead(A0);
Serial.println("---------------");
Serial.println(adcVal);
Serial.println(adcVal, BIN);
Serial.print(ADCH,BIN);
Serial.print(" ");
Serial.println(ADCL,BIN);
delay(2000);
}