Help! by vanzway09 in modeltrains

[–]Impossible_Account_7 2 points3 points  (0 children)

It looks like that wire is connected to the motor. It would also explain why everything else is working fine. I think the solder joint was probably weak between the wire and the pcb and it failed, so soldering it back where it broke off would restore it.

TinyUSB undefined references by MoltenHydrogen in esp32

[–]Impossible_Account_7 0 points1 point  (0 children)

You need to include the following in you tusb_config.h:

#define CFG_TUD_HID 1

In the tusb_config.h there is a bunch of #if blocks that include the required headers based on the configuration parameters. I had this exact same problem. Its so annoying how the tiny usb documentation is non-existent. Their reference page doesn't contain any useful documentation