Start standardizing function names

This is important to enable portability across platforms.

- UART_TX, UART_RX, UART_RTS, UART_CTS
- SPI_MISO, SPI_MOSI, SPI_CLK

This could break users who were depending on the previous wording but that would
be highly surprising.
pull/1/head
Marc-Antoine Ruel 8 years ago
parent ccd14fb9e1
commit 6e81933d56

@ -75,7 +75,7 @@ type Opts struct {
//
// Wiring
//
// Connect SDA to MOSI, SCK to SCLK, CS to CS.
// Connect SDA to SPI_MOSI, SCK to SPI_CLK, CS to SPI_CS.
//
// In 3-wire SPI mode, pass nil for 'dc'. In 4-wire SPI mode, pass a GPIO pin
// to use.

Loading…
Cancel
Save