-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardwarePlatform.h
42 lines (34 loc) · 1.13 KB
/
hardwarePlatform.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
BerryBerryCool platfomr pin definitions
************************************************************************
This sketch is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
********************* list of outhors **********************************
v0.1 7. November 2018 ChrisMicro changed to Adafruit_NeoPixel library
*/
#include <Arduino.h>
#include "ESP8266WiFi.h"
#include "I2S.h"
#include <Adafruit_NeoPixel.h>
// BeriBeriCool pin definitions
#define LED D6 // LED on Mixtape board, low active
#define NEOPIXELPIN D7
#define NEOPIXELNUMLEDS 8
#define MULTIPLEXER_PINA D0
#define MULTIPLEXER_PINB D1
#define MULTIPLEXER_PINC D2
#define I2S_DATA RX
#define I2S_BCLK D8
#define I2S_WS D4
#define ADC A0
#define BUTTONS_ADC ADC
//MULTIPLEXER_CHANNEL
#define POTI1 0
#define POTI2 1
#define POTI3 2
#define POTI4 3
#define CV1 4
#define CV2 5
#define BUTTONS 6