View Single Post
  #6   Spotlight this post!  
Unread 18-05-2011, 01:36
sanddrag sanddrag is offline
On to my 16th year in FRC
FRC #0696 (Circuit Breakers)
Team Role: Teacher
 
Join Date: Jul 2002
Rookie Year: 2002
Location: Glendale, CA
Posts: 8,510
sanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond reputesanddrag has a reputation beyond repute
Re: Help with Arduino and SPI

Quote:
Originally Posted by unclewaldo View Post
Try getting a copy of "Arduino Cookbook" [O'Reilly Books] by Michael Margolis
[ISBN978-0-596-80247-9] page 418 ..Chap 13 / problem 13.8 Driving Multidigit, 7-segment Displays Using SPI ... this might be helpful to understand and also for code ...
Got the book. That really helps. I was missing the concept of setting the chip select pin low, writing the two bytes, then setting it high. Got my device working now. Thanks.
__________________
Teacher/Engineer/Machinist - Team 696 Circuit Breakers, 2011 - Present
Mentor/Engineer/Machinist, Team 968 RAWC, 2007-2010
Technical Mentor, Team 696 Circuit Breakers, 2005-2007
Student Mechanical Leader and Driver, Team 696 Circuit Breakers, 2002-2004