Skip to content

Commit

Permalink
Example fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiaai committed Jan 21, 2024
1 parent f25010f commit 8203c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lds_basic_esp32/lds_basic_esp32.ino
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const uint8_t LDS_MOTOR_PWM_PIN = 15; // LDS motor speed control using PWM
#define LDS_MOTOR_PWM_CHANNEL 2 // ESP32 PWM channel for LDS motor speed control

HardwareSerial LdSerial(2); // TX 17, RX 16
LDS_YDLIDAR_X4 lds;
LDS_YDLIDARX4 lds;

void setup() {
lds.setScanPointCallback(lds_scan_point_callback);
Expand Down

0 comments on commit 8203c6d

Please sign in to comment.