I have been using Teensy 3.1/3.5s for a few months now without any issues. (A big fan. Congratulations.) My most recent application is one that uses keyboard.h and a 3.5 board. I had a very small test program running and everything worked great. I then started on the main application and worked on all the other things it needed to do before got to the keyboard routines. I then added the #include <Keyboard.h> line and just a few line of related code. Even with the include line, "Keyboard" comes up undefined. (FYI: I am using the VisualMicro add-in to Visual Studio as an editor.)
OK, so I went back to the Arduino IDE and loaded the Keyboard example. Now it too shows a compile error.
Of course, when all else fails, move to the latest Arduino IDE which I did. (1.8.4 to 1.8.8) Then I attempted to installed the latest version of Teensyduino (1.4.5). It gets to the point where it is going to install files into the Arduino folder and tosses an error about a third the way in.
"Unable to write changes to "lib/arduino-core.jar", replacing object "cc/arduino/Compiler$BuilderAction.class"
I made sure all file permissions were set to full. I turned off all anti-virus.
Any assistance is greatly appreciated.
OK, so I went back to the Arduino IDE and loaded the Keyboard example. Now it too shows a compile error.
Of course, when all else fails, move to the latest Arduino IDE which I did. (1.8.4 to 1.8.8) Then I attempted to installed the latest version of Teensyduino (1.4.5). It gets to the point where it is going to install files into the Arduino folder and tosses an error about a third the way in.
"Unable to write changes to "lib/arduino-core.jar", replacing object "cc/arduino/Compiler$BuilderAction.class"
I made sure all file permissions were set to full. I turned off all anti-virus.
Any assistance is greatly appreciated.