I am an experienced C++ programmer, but new to Arduino and writing software for something other than a PC. When I push the upload arrow, I get the message in the title bar. The hopefully uploaded screen shot shows that I have indeed used Tools->Port:"[an identifier]"->under the Peensy ports submenu, an "hid[blahblahblah]
I am using 2.3.6 on a Windows tablet. This happens regardless of if I use a hub, which also has this keyboard, or use my tablet's keyboard and plug the Teensy straight into my tablet. It may or may not be related to certain Serial.print calls being necessary for the calculations in a function to come out correctly. (If I commment out any one of three Serial print, or send_now() calls, my results change. I'm used to such things being from a memory overwrite, but I'm not using any dynamic memory right now.)
I'm, not familiar with teensies. I did find Invalid port on Windows 10 | Teensy Forum that might shine a light on it. There was no solution provided as far as I could see.
I assumed COM3 and COM4 are other types of serial ports. TCP/IP ports are serial, for example. Thanks to your question, I did notice that there are two USB-C ports on this tablet. (It's a work device. I much prefer Linux or Macs over Windows.) Maybe I'll see if I can't delete the HID ports from the list and use one of my own USB-C cords.
I found a USB-C to A device, and successfully attached the Teensy that way. It is no longer listed as an HID device, but I still get the same error message. Here is how it is listed now:
Hi @allti. I'm not able to reproduce the fault on my machine. The appearance of the message is normal and expected if you have the "serial" protocol port produced by the board selected from Arduino IDE's Tools > Port menu, but it is not expected once you selected the "teensy" protocol port from that menu.
If you still have the problem, I recommend posting on the Teensy Forum:
Some of the Arduino Forum helpers are very experienced with using Teensy boards, so it was completely reasonable to request assistance here, especially considering the problem was related to Arduino IDE which is even more in our wheelhouse. However, it is true that the greatest expertise in all things Teensy-specific is found on Teensy Forum (with the creator of Teensy Paul Stoffregen even being an active participant over there). It seems like the problem you encountered is quite specific to the unique characteristics of how the "Teensy" boards platform is configured.
If you do create a post on the Teensy forum, please add a link to that post here on your Arduino Forum topic. The information that is shared over on the Teensy Forum may be of value to other Arduino Forum community members. I'm certainly interested to learn more about the subject.
Note that this is not an error message. It is only a warning.
I believe the reason the warning is shown is because when you select the "teensy" protocol port from the menu, the special "teensy-monitor" helper tool will be used to handle the communication between the board and the Arduino IDE Serial Monitor.
When you select a "serial" protocol port from the menu, the official serial-monitor helper tool is used instead of "teensy-monitor".