const int ID_SENSE = A0;
void setup() {
  Serial1.begin(9600);
}
 
void loop() {
 
   float x=analogRead(ID_SENSE);
    Serial1.print ("x before map: "); 
    Serial1.println (x);
 
    float Curr  = map  (analogRead(ID_SENSE),  0,  1023,  0,10) ;  //将x数值从区间1 - 5 映射到区间 1 - 50
     
    Serial1.print ("curr after map:");
    Serial1.println (Curr);
     
    Serial1.println ("");
  delay(1000);
 // while(1){continue;}; 
}