long axisValue2;
void setup() {
Serial.begin(115200);
long encoderValue2 = -5;
long axisValue2 = map(encoderValue2, 0, 1023, 0, 7500);
Serial.println(axisValue2);
}
void loop() {
// put your main code here, to run repeatedly:
}
long axisValue2;
void setup() {
Serial.begin(115200);
long encoderValue2 = -5;
long axisValue2 = map(encoderValue2, 0, 1023, 0, 7500);
Serial.println(axisValue2);
}
void loop() {
// put your main code here, to run repeatedly:
}