28 #define makeDWord(i0, i1, i2, i3) ((uint32_t) (i0 << 24 | i1 << 16 | i2 << 8 | i3))
34 #define DIGITALWRITE 2
36 #define ANALOGREFERENCE 4
49 #define SPISETTINGS 17
50 #define SPITRANSFER 18
struct registers pinMode(uint8_t argc, uint8_t *argv)
Change the settings of the Arduino I/O pins.
struct registers spiSettings(uint8_t argc, uint8_t *argv)
Change the settings of the SPI connection.
struct registers wireSetClock(uint8_t argc, uint8_t *argv)
Change the clock speed settings of the I2C connection.
struct registers wireRead(uint8_t argc, uint8_t *argv)
Read data from the connected I2C peripheral.
struct registers servoRead(uint8_t argc, uint8_t *argv)
Read a value from the connected servo.
struct registers wireWrite(uint8_t argc, uint8_t *argv)
Write data to the connected I2C peripheral.
struct registers wireEnd(uint8_t argc, uint8_t *argv)
End an I2C connection between the Arduino and a peripheral.
struct registers spiBegin(uint8_t argc, uint8_t *argv)
Begin a SPI connection between the Arduino and a peripheral.
struct registers analogWrite(uint8_t argc, uint8_t *argv)
Write an analog value (0-255) to the Arduino I/O pins.
struct registers servoWrite(uint8_t argc, uint8_t *argv)
Write a value to the connected servo.
struct registers servoDetach(uint8_t argc, uint8_t *argv)
Detach a servo from the the control interface.
struct registers servoAttach(uint8_t argc, uint8_t *argv)
Attach a connected servo to a control interface.
struct registers analogRead(uint8_t argc, uint8_t *argv)
Read an analog value (0-1023) from the Arduino I/O pins.
struct registers digitalRead(uint8_t argc, uint8_t *argv)
Read a digital value (HIGH/LOW) from the Arduino I/O pins.
struct registers spiTransferBuf(uint8_t argc, uint8_t *argv)
Exchange data over the SPI connection (Read + Write)
struct registers digitalWrite(uint8_t argc, uint8_t *argv)
Write a digital (HIGH/LOW) value to the Arduino I/O pins.
struct registers spiEnd(uint8_t argc, uint8_t *argv)
End a SPI connection between the Arduino and a peripheral.
struct registers wireBegin(uint8_t argc, uint8_t *argv)
Begin an I2C connection between the Arduino and a peripheral.
A data structure to describe function arguments and return values.
A data structure to describe a SPI connection's configuration settings. Essentially the same as Ardui...