Skip to content
XV_Lidar_Controller.ino 36.2 KiB
Newer Older
  Serial.print(F("GetSurreal.com"));

  Serial.println(F(" "));
  Serial.println(F(" "));

  Serial.print(F("PWM pin: "));
  Serial.println(xv_config.motor_pwm_pin);

  Serial.println(xv_config.rpm_setpoint);

  Serial.println(xv_config.pwm_max);
  Serial.println(xv_config.pwm_min);

  Serial.println(xv_config.Kp);
  Serial.println(xv_config.Ki);
  Serial.println(xv_config.Kd);
  Serial.println(xv_config.sample_time);
  Serial.println(xv_config.raw_data);
  Serial.print(F("Show Dist Data: "));
  Serial.println(xv_config.show_dist);
  Serial.print(F("Show RPM Data: "));
  Serial.println(xv_config.show_rpm);
  Serial.print(F("Show Angle: "));
  Serial.println(xv_config.show_angle);

  Serial.println(F(" "));
  Serial.println(F(" "));

void saveConfig() {
  EEPROM_writeAnything(0, xv_config);