Go Down

Topic: SPI library lacks defaults info. (Read 1 time) previous topic - next topic


I suggest that information on the defaults for setDataMode and setBitOrder, etc be added to the library manual for the SPI library.


Usually the lack of information on the default of a value means: don't count on it and set it explicitly. In the case of the SPI library I would strongly suggest to always set these two value even when the current default is the value you need.


Whatever the defaults are, they work great for MAX7219, MAX7221, 74HC595, and TPIC6B595.
The most I've ever done was slow down the clock some for a Microchip ADC or DAC, I forget which one.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up