mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-19 09:42:11 +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:
@ -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
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user