Initialize the Raspberry Pi for IO
1 | init(setup_type = "wpi", spi_channel = 0L, pin_base = 100L)
|
setup_type |
Which mode wiringPi should be initialized in. Either
|
spi_channel |
If using an external ADC, which SPI channel is it running on? |
pin_base |
The virtual GPIO pin number which we should use for the fake pins we'll use for measuring analog values. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.