Remove some unnecessary debug code.

git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@61 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b
master
follower 17 years ago
parent ad0428f2a8
commit 24953c0e31

@ -59,8 +59,6 @@ void setup () {
Serial.begin(9600); Serial.begin(9600);
Serial.println("Setup enter..."); Serial.println("Setup enter...");
Serial.print("SPCR: "); Serial.println(SPCR, BIN);
// Configure SPI // Configure SPI
// Configure I/O pins // Configure I/O pins
pinMode(PIN_DATA_OUT, OUTPUT); pinMode(PIN_DATA_OUT, OUTPUT);
@ -82,8 +80,6 @@ void setup () {
// 0 SPI Clock Rate Select 0 -- } fOSC/4 (SPR0 --> 0) ("Fastest" but see SPI2X in SPSR) // 0 SPI Clock Rate Select 0 -- } fOSC/4 (SPR0 --> 0) ("Fastest" but see SPI2X in SPSR)
SPCR = (1<<SPE)| (1<<MSTR); SPCR = (1<<SPE)| (1<<MSTR);
Serial.print("SPCR: "); Serial.println(SPCR, BIN);
// Clear previous data and status (TODO: Determine if necessary/better way.) // Clear previous data and status (TODO: Determine if necessary/better way.)
// (Based on Playground SPI example.) // (Based on Playground SPI example.)
byte dummy; byte dummy;

Loading…
Cancel
Save