From 137136833f5caa745fd266902f540e1c163ea354 Mon Sep 17 00:00:00 2001 From: follower Date: Mon, 5 Nov 2007 11:32:57 +0000 Subject: [PATCH] Fiddle some comment formatting. git-svn-id: svn+ssh://oldsvn/home/mlalondesvn/svn/cral@64 3ee9b42a-b53c-0410-a25e-f0b6218d5d5b --- .../wiz810mj/src/demo/WizDemo1/WizDemo1.pde | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/branches/follower/wiz810mj/src/demo/WizDemo1/WizDemo1.pde b/branches/follower/wiz810mj/src/demo/WizDemo1/WizDemo1.pde index 6a70cb8..7fa525d 100644 --- a/branches/follower/wiz810mj/src/demo/WizDemo1/WizDemo1.pde +++ b/branches/follower/wiz810mj/src/demo/WizDemo1/WizDemo1.pde @@ -64,16 +64,18 @@ void configureSPI() { digitalWrite(PIN_SLAVE_SELECT, HIGH); // Disable slave - // Configure SPI Control Register (SPCR) (All values initially 0) - // Bit Description - // 7 SPI Interrupt Enable -- disable (SPIE --> 0) - // 6 SPI Enable -- enable (SPE --> 1) - // 5 Data Order -- MSB 1st (DORD --> 0) (Slave specific) - // 4 Master/Slave Select -- master (MSTR --> 1) - // 3 Clock Polarity -- (CPOL --> 0) (Slave specific) ("Mode") - // 2 Clock Phase -- (CPHA --> 0) (Slave specific) - // 1 SPI Clock Rate Select 1 -- } (SPR1 --> 0) - // 0 SPI Clock Rate Select 0 -- } fOSC/4 (SPR0 --> 0) ("Fastest" but see SPI2X in SPSR) + /* + Configure SPI Control Register (SPCR) (All values initially 0) + Bit Description + 7 SPI Interrupt Enable -- disable (SPIE --> 0) + 6 SPI Enable -- enable (SPE --> 1) + 5 Data Order -- MSB 1st (DORD --> 0) (Slave specific) + 4 Master/Slave Select -- master (MSTR --> 1) + 3 Clock Polarity -- (CPOL --> 0) (Slave specific) ("Mode") + 2 Clock Phase -- (CPHA --> 0) (Slave specific) + 1 SPI Clock Rate Select 1 -- } (SPR1 --> 0) + 0 SPI Clock Rate Select 0 -- } fOSC/4 (SPR0 --> 0) ("Fastest" but see SPI2X in SPSR) + */ SPCR = (1<