Sorry for letting you waiting for so long, Frikkie! I just tested in Arduino IDE 1.8.16 and VS Code, using v9.10.0 and the attached settings. Everything works as expected. It is revving just fine, even with 2 trailers.
No problem, thank you for testing it! I have tried this various times now on 2 different laptops (IDE 1.8.13/16 and IDE2.0 and VS Code).
I do not get it, I download a new version of v9.10.0, copy your setting into the folder replacing the files. I have to comment out the //#define BATTERY_PROTECTION as the Scania's card does not have it yet. I leave everything else as is...upload the code and the truck revs up! Then I only change the MAC addresses for my 2 cards, upload again and the truck does not rev up. (trailers work 100%, all lights and legs)
#define WIRELESS_TRAILER // Disable it, if no wireless trailer is used. It may cause noise in the speaker, if no trailer is detected.
#define TRAILER_LIGHTS_TRAILER_PRESENCE_SWITCH_DEPENDENT // wireless trailer lights are switched off, if truck mounted trailer presence switch on pin 32 is closed.
// IMPORTANT!! Replace the addresses below with your trailers MAC addresses!! --------------------------
// Trailer 1
//uint8_t broadcastAddress1[] = {0x4C, 0xEB, 0xD6, 0x7C, 0x02, 0x74}; // Bruder Low Loader
uint8_t broadcastAddress1[] = {0xAC, 0x67, 0xB2, 0x37, 0xF3, 0x7C}; // SCANIA S1
//uint8_t broadcastAddress1[] = {0x4C, 0xEB, 0xD6, 0x7C, 0x1E, 0x10}; // US flatbed
//uint8_t broadcastAddress1[] = {0xAC, 0x67, 0xB2, 0x12, 0x30, 0x28}; // white board
//uint8_t broadcastAddress1[] = {0xA0, 0x20, 0xA6, 0x10, 0x46, 0x3B}; // D1 Mini ESP8266
// Trailer 2
#define TRAILER_2 // Uncomment this, if you want to use a 2nd trailer
//uint8_t broadcastAddress2[] = {0x4C, 0xEB, 0xD6, 0x7C, 0x02, 0x74}; // Bruder Low Loader
uint8_t broadcastAddress2[] = {0x34, 0x86, 0x5D, 0x3A, 0xF1, 0x5C}; //SCANIA S2
//uint8_t broadcastAddress2[] = {0xA0, 0x20, 0xA6, 0x10, 0x46, 0x3B}; // D1 Mini ESP8266
Do you still use the Mac instead of a Windows PC?