- Timestamp:
- Oct 15, 2019, 7:05:23 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Arduino/libraries/Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h
r3 r30 25 25 #include "utility/CP_Firmata.h" 26 26 27 #if def __AVR__// Circuit Playground 'classic'27 #if defined(__AVR__) || defined(ARDUINO_NRF52840_CIRCUITPLAY) // Circuit Playground 'classic' 28 28 #include "utility/CPlay_CapacitiveSensor.h" 29 29 #else … … 50 50 #define CPLAY_LIS3DH_INTERRUPT 7 ///< LIS3DH interrupt pin 51 51 #define CPLAY_LIS3DH_ADDRESS 0x18 ///< LIS3DH I2C address 52 #elif defined(ARDUINO_NRF52840_CIRCUITPLAY) 53 #define CPLAY_CAPSENSE_SHARED 255 ///< we use ground instead of capacitive sense pin 54 #define CPLAY_LEFTBUTTON 4 ///< left button pin 55 #define CPLAY_RIGHTBUTTON 5 ///< right button pin 56 #define CPLAY_SLIDESWITCHPIN 7 ///< slide switch pin 57 #define CPLAY_NEOPIXELPIN 8 ///< neopixel pin 58 #define CPLAY_REDLED 13 ///< red led pin 59 #define CPLAY_BUZZER A0 ///< buzzer pin 60 #define CPLAY_LIGHTSENSOR A8 ///< light sensor pin 61 #define CPLAY_THERMISTORPIN A9 ///< thermistor pin 62 #define CPLAY_LIS3DH_CS -1 ///< LIS3DH chip select pin 63 #define CPLAY_LIS3DH_INTERRUPT 27 ///< LIS3DH interrupt pin 64 #define CPLAY_LIS3DH_ADDRESS 0x19 ///< LIS3DH I2C address 52 65 #else // Circuit Playground Express 53 66 #define CPLAY_LEFTBUTTON 4 ///< left button pin … … 95 108 Adafruit_CPlay_Speaker speaker; ///< the speaker object 96 109 97 #if def __AVR__ // Circuit Playground 'classic'110 #if defined (__AVR__) || defined(ARDUINO_CIRCUITPLAY_NRF52840) // Circuit Playground 'classic' or bluefruit 98 111 CPlay_CapacitiveSensor cap[8]; ///< the array of capacitive touch sensors 99 112 #else
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/Paradigma/chrome/site/paradigma.png)