Code in arduino IDE for Brushed motor connected with Mini Motor driver V1

@cypek55 I know this is an old post, but how did you get the Mini Motor Driver to work with the XIAO ESP32C3? When I try to compile the example code from the Seeed-Studio/Drv8830_Motor_Driver repo.

I get errors as follows (plus many more similar) :

/Arduino/libraries/Drv8830_Motor_Driver/SparkFunMiniMoto.cpp: In constructor ‘MiniMoto::MiniMoto(byte)’:

/Arduino/libraries/Drv8830_Motor_Driver/SparkFunMiniMoto.cpp:29:5: error: ‘TWBR’ was not declared in this scope
29 | TWBR = 72;
| ^~~~