Skip to content

Arduino library

Red-Leader117 edited this page Dec 28, 2018 · 5 revisions

The Arduino library is a thin wrapper on top of the Serial library on the Arduino language. The API is given below.

In the actual program, the Adafruit_MAX31865 is used to obtain values from the sensor and this value is sent out every second.

Pi2Ard

connect()

  • Arguments: const int &baudRate

Calls Serial.begin(baudRate)

disconnect()

Calls Serial.end()

send()

  • Arguments: const char *data

Calls Serial.println(data)

Clone this wiki locally