Need help to run the Bridge on (USB CDC) Serial rather than Serial1

Thanks sonnyyu, but I still would like to make this run with the Arduino Leonardo as well.