Skip to content

Commit c4b43ae

Browse files
Ooze Master: add Feather M4 pin option
1 parent 167eefe commit c4b43ae

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

OozeMaster3000/OozeMaster3000.ino

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// OOZE MASTER 3000: NeoPixel simulated liquid physics. Up to 7 NeoPixel
22
// strands dribble light, while an 8th strand "catches the drips."
3-
// Designed for the Adafruit Feather M0 (NOT M4) with NeoPXL8 FeatherWing.
4-
// This can be adapted for other M0 or M4 boards but you will need to do your
5-
// own "pin sudoku" and level shifting (e.g. NeoPXL8 Friend breakout or similar).
3+
// Designed for the Adafruit Feather M0 or M4 with matching version of
4+
// NeoPXL8 FeatherWing. This can be adapted for other M0 or M4 boards but
5+
// you will need to do your own "pin sudoku" and level shifting
6+
// (e.g. NeoPXL8 Friend breakout or similar).
67
// See here: https://learn.adafruit.com/adafruit-neopxl8-featherwing-and-library
78
// Requires Adafruit_NeoPixel, Adafruit_NeoPXL8 and Adafruit_ZeroDMA libraries.
89

@@ -18,9 +19,13 @@ uint8_t dripColor[] = { 0, 255, 0 }; // Bright green ectoplasm
1819
// for a more theatric effect / to slow down the drips like they've still got a
1920
// syrupy "drool string" attached (try much lower values like 2.0 to 3.0).
2021

21-
// NeoPXL8 pin numbers (these are default connections on NeoPXL8 FeatherWing)
22+
// NeoPXL8 pin numbers (these are default connections on NeoPXL8 M0 FeatherWing)
2223
int8_t pins[8] = { PIN_SERIAL1_RX, PIN_SERIAL1_TX, MISO, 13, 5, SDA, A4, A3 };
2324

25+
// If using an M4 Feather & NeoPXL8 FeatherWing, use these values instead:
26+
//int8_t pins[8] = { 13, 12, 11, 10, SCK, 5, 9, 6 };
27+
28+
2429
typedef enum {
2530
MODE_IDLE,
2631
MODE_OOZING,

0 commit comments

Comments
 (0)