Go Down

Topic: SPI library lacks defaults info. (Read 306 times) previous topic - next topic

MadsHammerich

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

pylon

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.

CrossRoads

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. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Go Up