Pages: [1]   Go Down
Author Topic: SPI library lacks defaults info.  (Read 283 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Faraday Member
Karma: 111
Posts: 5255
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
Karma: 548
Posts: 27386
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Arduino for Teens available at

Pages: [1]   Go Up
Jump to: