Hello,
I'm using a Teensy 4.1 with a TFT display and using the ILI9488_t3.h library included in Teensy core.
Unfortunately and quite annoyingly, this library outputs initialization messages to USB Serial when its begin() function is called, and I'd like to get rid of them because I need full control of what is printed to Serial.
I cannot find a way to do this. I tried redefining "Serial" but the library includes Arduino.h which will reset it "correctly", enabling the print-out again.
Of course I can hack into the library code and comment the lines out, but I would like a solution that is independent of the third party code otherwise whenever there is an update it will be rewritten and it also means my code is not portable.
Thanks for your help,
I'm using a Teensy 4.1 with a TFT display and using the ILI9488_t3.h library included in Teensy core.
Unfortunately and quite annoyingly, this library outputs initialization messages to USB Serial when its begin() function is called, and I'd like to get rid of them because I need full control of what is printed to Serial.
I cannot find a way to do this. I tried redefining "Serial" but the library includes Arduino.h which will reset it "correctly", enabling the print-out again.
Of course I can hack into the library code and comment the lines out, but I would like a solution that is independent of the third party code otherwise whenever there is an update it will be rewritten and it also means my code is not portable.
Thanks for your help,