

The Java code in question, where I think this data loss might be happening, is serialEvent() at line 174 in arduino-core/src/processing/app/Serial.java.Īt line 177, data is obtained from JSSC as an array of 8 bit bytes. It could be other settings that influence how bytes are turned into unicode chars. and many more.Ĥ) Arduino Nano no problems tried it many times!ĭefaults write cc. AppleLanguages '(en)'īut I must admit, how Java really handles the language settings isn't something I really know. Nothing else connected to The iMac at all. I have disconnected Bluetooth stuff, mouse, Trackpad, Keyboard, etc.
#TEENSY DRIVER MAC UPDATE#
I have changed System Language, and Arduino Language, I have done an OSX update, an Arduino and Teensyduino update & downgrade, I have updated JS.
#TEENSY DRIVER MAC SERIAL#
is written in the title bar.ġ) looking for other processes using USB port: with serial monitor open, do: lsof | grep modemĢ) when just printing value of i in loop, if you switch from monitor to "Serial Plotter" in IDE, i presume you still have missing values?ģ) you said you switched languages, but seems like i've read about arduino IDE problems that were sensitive to language ? IDE has language preference, as does MAC OSĤ) do you have UNO or non-teensy arduino MCU you can testġ) only Arduino is connected to the USB port.ģ) i have not switched! I have tried different Languages to find out if there is an connection between the error and the Language. It does not change, in both cases TeensyMonitor: /dev/cu.usbmodem2397461. Of course I`m willing to keep testing and if I can I will help to isolate this Bug. Either way, I really do want to get to the bottom of this, if you're willing to keep doing tests and help narrow down where the problem really is. If both fail, then at least we'll know it's something deeper in the Arduino IDE or Java or JSSC. If that makes a difference, then I'll start trying to figure out what I might have done that's messing up the serial monitor. You'll know it's Arduino's original version when the title bar shows only "/dev/cu.usbmodem2397461 (Teensy)" without the word "TeensyMonitor". If you close the serial monitor window, then select a non-Teensy board in Tools > Boards, and open the serial monitor again, you should get the original serial monitor without Teensyduino's patches. That means you're running Teensy's modified serial monitor. Maybe they're related? If you look at the title bar of the serial monitor window, it says "TeensyMonitor". Teensyduino makes changes to Arduino's serial monitor.

Oh, wow, really looks like something within the Arduino IDE.
