Skip to content
max mc costa edited this page Jun 18, 2016 · 1 revision

begin([optional]);//initialize library


optional parameters:
begin(); doesn't need any parameters, however it has an optional parameter that should be used only when library initialization occour after another library that already initialized SPI. begin(true); initialize library without perform SPI.init
The complete begin function is: begin([false,true]);
where:
optional: **false **(init SPI and library), **true **(avoid SPI initialization but init library)

Clone this wiki locally