Selaa lähdekoodia

abbreviate Arduino 101 CS pin comments

main
PaulStoffregen 8 vuotta sitten
vanhempi
commit
3dc2c2a8d7
6 muutettua tiedostoa jossa 6 lisäystä ja 18 poistoa
  1. +1
    -3
      examples/CopyFromSD/CopyFromSD.ino
  2. +1
    -3
      examples/CopyFromSerial/CopyFromSerial.ino
  3. +1
    -3
      examples/EraseEverything/EraseEverything.ino
  4. +1
    -3
      examples/ListFiles/ListFiles.ino
  5. +1
    -3
      examples/MP3Player/MP3Player.ino
  6. +1
    -3
      examples/RawHardwareTest/RawHardwareTest.ino

+ 1
- 3
examples/CopyFromSD/CopyFromSD.ino Näytä tiedosto

@@ -4,9 +4,7 @@

const int SDchipSelect = 4; // Audio Shield has SD card CS on pin 10
const int FlashChipSelect = 6; // digital pin for flash chip CS pin
// Uncomment this line if using the built-in SPI Flash device
// on an Arduino 101 board
//const int FlashChipSelect = 21;
//const int FlashChipSelect = 21; // Arduino 101 built-in SPI Flash

void setup() {
//uncomment these if using Teensy audio shield

+ 1
- 3
examples/CopyFromSerial/CopyFromSerial.ino Näytä tiedosto

@@ -83,9 +83,7 @@
#define MISO 12
#define SCK 14
#define CSPIN 6
// Uncomment this line if using the built-in SPI Flash device
// on an Arduino 101 board
//#define CSPIN 21
//#define CSPIN 21 // Arduino 101 built-in SPI Flash

void setup(){
Serial.begin(9600); //Teensy serial is always at full USB speed and buffered... the baud rate here is required but ignored

+ 1
- 3
examples/EraseEverything/EraseEverything.ino Näytä tiedosto

@@ -2,9 +2,7 @@
#include <SPI.h>

const int FlashChipSelect = 6; // digital pin for flash chip CS pin
// Uncomment this line if using the built-in SPI Flash device
// on an Arduino 101 board
//const int FlashChipSelect = 21;
//const int FlashChipSelect = 21; // Arduino 101 built-in SPI Flash

SerialFlashFile file;


+ 1
- 3
examples/ListFiles/ListFiles.ino Näytä tiedosto

@@ -2,9 +2,7 @@
#include <SPI.h>

const int FlashChipSelect = 6; // digital pin for flash chip CS pin
// Uncomment this line if using the built-in SPI Flash device
// on an Arduino 101 board
//const int FlashChipSelect = 21;
//const int FlashChipSelect = 21; // Arduino 101 built-in SPI Flash

void setup() {
//uncomment these if using Teensy audio shield

+ 1
- 3
examples/MP3Player/MP3Player.ino Näytä tiedosto

@@ -27,9 +27,7 @@ AudioConnection patchCord3(mixer1, dac1);

#define PROP_AMP_ENABLE 5
#define FLASH_CHIP_SELECT 6
// Uncomment this line if using the built-in SPI Flash device
// on an Arduino 101 board
//#define FLASH_CHIP_SELECT 21
//#define FLASH_CHIP_SELECT 21 // Arduino 101 built-in SPI Flash

void setup() {
Serial.begin(9600);

+ 1
- 3
examples/RawHardwareTest/RawHardwareTest.ino Näytä tiedosto

@@ -22,9 +22,7 @@
#include <SPI.h>

const int FlashChipSelect = 6; // digital pin for flash chip CS pin
// Uncomment this line if using the built-in SPI Flash device
// on an Arduino 101 board
//const int FlashChipSelect = 21;
//const int FlashChipSelect = 21; // Arduino 101 built-in SPI Flash

SerialFlashFile file;


Loading…
Peruuta
Tallenna