Skip to content

Commit a779755

Browse files
Merge pull request #262 from turkycat/WiFi
Adding StandardFirmataWiFi and required utility classes
2 parents 6e634f7 + ec3d0aa commit a779755

File tree

7 files changed

+1630
-2
lines changed

7 files changed

+1630
-2
lines changed

examples/StandardFirmataEthernet/StandardFirmataEthernet.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -868,14 +868,14 @@ void setup()
868868
Firmata.attach(START_SYSEX, sysexCallback);
869869
Firmata.attach(SYSTEM_RESET, systemResetCallback);
870870

871-
// StandardFirmataEthernet communicates with Ethernet shields over SPI. Therefor all
871+
// StandardFirmataEthernet communicates with Ethernet shields over SPI. Therefore all
872872
// SPI pins must be set to IGNORE. Otherwise Firmata would break SPI communication.
873873
// add Pin 10 and configure pin 53 as output if using a MEGA with an Ethernet shield.
874874

875875
// ignore SPI and pin 4 that is SS for SD-Card on Ethernet-shield
876876
for (byte i = 0; i < TOTAL_PINS; i++) {
877877
if (IS_PIN_SPI(i)
878-
|| 4 == i // SD-Card on Ethernet-shiedl uses pin 4 for SS
878+
|| 4 == i // SD-Card on Ethernet-shield uses pin 4 for SS
879879
|| 10 == i // Ethernet-shield uses pin 10 for SS
880880
#if defined(__AVR_ATmega32U4__)
881881
|| 24 == i // On Leonardo, pin 24 maps to D4 and pin 28 maps to D10

0 commit comments

Comments
 (0)