Skip to content

Commit 47c23db

Browse files
authored
Merge pull request #61 from facchinm/uno_wifi_rev2
Add support for UNO WiFi rev2
2 parents 72f666d + 455519c commit 47c23db

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/utility/Sd2PinMap.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,20 @@ uint8_t const SCK_PIN = SCK;
3131

3232
#endif // Sd2PinMap_h
3333

34+
#elif defined(__AVR_ATmega4809__) // Arduino UNO WiFI Rev2 follows
35+
36+
#ifndef Sd2PinMap_h
37+
#define Sd2PinMap_h
38+
39+
#include <Arduino.h>
40+
41+
uint8_t const SS_PIN = SS;
42+
uint8_t const MOSI_PIN = MOSI;
43+
uint8_t const MISO_PIN = MISO;
44+
uint8_t const SCK_PIN = SCK;
45+
46+
#endif // Sd2PinMap_h
47+
3448
#elif defined(__AVR__) // Other AVR based Boards follows
3549

3650
// Warning this file was generated by a program.

0 commit comments

Comments
 (0)