Need Help with reading from Serial Port - Arduino

Hello All,

I’m trying to write a script on AppleScript that reads from the serial port and when it receives certain characters from Arduino, it will do certain tasks, things such as increasing/decreasing the volume on my laptop, which is a mac.

I am able to create the resultant scripts, but I haven’t figured out how to read the data from the Arduino. I was using AppleScript Proxy, but it is very buggy. I have the SerialPortX installed on my laptop. I do not understand/know how to read the data from the Serial Port. I currently have the outputs from the as characters.

Could someone give me a hand?

Thanks in advance!