We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f33e362 commit 4294ca5Copy full SHA for 4294ca5
libraries/SerialFlash/examples/CopyFromSerial/CopyFromSerial.ino
@@ -79,22 +79,13 @@
79
#define BYTE_ESCAPE 0x7d
80
#define BYTE_SEPARATOR 0x7c
81
82
-
83
-//SPI Pins (these are the values on the Audio board; change them if you have different ones)
84
-#define MOSI 7
85
-#define MISO 12
86
-#define SCK 14
87
#define CSPIN 21
88
89
void setup(){
90
Serial.begin(9600); //Teensy serial is always at full USB speed and buffered... the baud rate here is required but ignored
91
92
pinMode(13, OUTPUT);
93
94
- //Set up SPI
95
- SPI.setMOSI(MOSI);
96
- SPI.setMISO(MISO);
97
- SPI.setSCK(SCK);
98
SerialFlash.begin(CSPIN);
99
100
//We start by formatting the flash...
0 commit comments