Bläddra i källkod

Update pin numbers in examples

main_ledos
PaulStoffregen 4 år sedan
förälder
incheckning
958edc97f6
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. +1
    -1
      examples/BasicTest/BasicTest.ino
  2. +1
    -1
      examples/FastLED_Cylon/FastLED_Cylon.ino

+ 1
- 1
examples/BasicTest/BasicTest.ino Visa fil

@@ -14,7 +14,7 @@ const int pin = 1;
// Teensy 3.2: 1, 5, 8, 10, 31 (overclock to 120 MHz for pin 8)
// Teensy 3.5: 1, 5, 8, 10, 26, 32, 33, 48
// Teensy 3.6: 1, 5, 8, 10, 26, 32, 33
// Teensy 4.0: 1, 8, 14, 16, 20, 24, 29, 39
// Teensy 4.0: 1, 8, 14, 17, 20, 24, 29, 39

byte drawingMemory[numled*3]; // 3 bytes per LED
DMAMEM byte displayMemory[numled*12]; // 12 bytes per LED

+ 1
- 1
examples/FastLED_Cylon/FastLED_Cylon.ino Visa fil

@@ -12,7 +12,7 @@
// Teensy 3.2: 1, 5, 8, 10, 31 (overclock to 120 MHz for pin 8)
// Teensy 3.5: 1, 5, 8, 10, 26, 32, 33, 48
// Teensy 3.6: 1, 5, 8, 10, 26, 32, 33
// Teensy 4.0: 1, 8, 14, 16, 20, 24, 29, 39
// Teensy 4.0: 1, 8, 14, 17, 20, 24, 29, 39
#define DATA_PIN 1

// Define the array of leds

Laddar…
Avbryt
Spara