1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00

Fixing bug that made the Ethernet library interfere with pins 8 and 9.

Adding a delay(1) to the WebServer example to work with browsers.
Removing duplicate Print files from Ethernet library.
This commit is contained in:
David A. Mellis
2008-12-14 16:55:23 +00:00
parent 40cbd63fc4
commit 30e40e40ef
4 changed files with 3 additions and 213 deletions

View File

@ -37,7 +37,7 @@
// PB4(MISO), PB3(MOSI), PB5(SCK), PB2(/SS) // CS=1, waiting for SPI start // SPI mode 0, 4MHz
#define SPI0_Init() DDRB |= SPI0_SS_BIT|SPI0_SCLK_BIT|SPI0_MOSI_BIT;\
PORTB = SPI0_SS_BIT;\
PORTB |= SPI0_SS_BIT; PORTB &= ~(SPI0_SCLK_BIT|SPI0_MOSI_BIT);\
SPCR = 0x50
//-----------------------------------------------------------------------------