arduinoReadF Serial I/O arduinoReadF arduinoReadF Read data from an arduino port using the Csound-Arduino protocol. Description Plugin opcode in serial. Read integer data from an arduino port with CsoundArduino protocol. Syntax kval arduinoReadF iPort, iStream1, iStream2, iStream3 Performance iPort -- port number obtained from a arduinoStart opcode. iStream1, iStream2, iStream3 -- Numbers of the three data streams in the range 0 to 30. Each stream carries 10 bits of the 30 bits floating point result. The division is created in the Arduino sketch encapsulated in the put_float function. kval -- floating point value read. The value transmitted is two bits shorter in the mantissa than produced on the Arduino so there is a little error introduced. Examples Here is an example of the arduinoReadF opcode. It uses the file arduinoReadF.csd. Example of the arduinoReadF opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See Also non-MIDI Devices More information: New Arduino Opcodes to Simplify the Streaming of Sensor and Controller Data to Csound Credits Author: &namejohn; Author: Richard Boulanger 2020 New in version 6.15