Is there a way to disable the USB serial channel on a Photon? I tried putting Serial.end() in a startup macro, but that doesn’t do it. I am trying to do mouse and keyboard emulation, but don’t want the serial device.
Have you tried Serial.end()
some time later in code?
Maybe STARTUP()
happens before the system calls Serial.begin()
for the logging feature.
1 Like
You were right. That was it. Put it a little later in the code and it worked.
1 Like