Newish to Mathematica, first post, yadayada...
So I have an Arduino pushing serial data in super simple format (Arduino code snippet is Serial.println(Analog0_value);)
I've opened the comport in Mathematica, interpreted the input stream and can display a live/dynamic number from the Arduino. But...I can't get the live behavior into a simple Guage!? what gives?
port = "/dev/tty.usbmodem1411"
dev = DeviceOpen["Serial", {port, "BaudRate" -> 9600}]
out := Dynamic[FromCharacterCode[DeviceReadBuffer[dev, "ReadTerminator" -> 10]]]
So far so good: out shows a live value that corresponds to the analog value on Analog0 input of the Arduino. now the fail: AngularGauge[out, {0, 100}] Any permutation I've tried I never get the gauge to light up with my live data. I may get just (changing number here),{0,100} for example.
Thoughts!?