Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adafruit/Adafruit_CircuitPlayground
/ functions
Functions
261 in github.com/adafruit/Adafruit_CircuitPlayground
⨍
Functions
261
◇
Types & classes
75
↓ 22 callers
Method
write
* A wrapper for Stream::available(). * Write a single byte to the output stream. * @param c The byte to be written. */
utility/CP_Firmata.cpp:486
↓ 18 callers
Method
setPixelColor
! @brief Set a pixel's color using separate red, green and blue components. If using RGBW pixels, white will be set to 0. @param n
utility/Adafruit_CPlay_NeoPixel.cpp:2226
↓ 15 callers
Function
IRLIB_ATTEMPT_MESSAGE
utility/IRLibDecodeBase.h:75
↓ 11 callers
Method
colorWheel
/ ! @brief get a color value from the color wheel. @param WheelPos a value 0 to 255 @returns a color value. The colours are a transition r
Adafruit_CircuitPlayground.cpp:380
↓ 8 callers
Method
capacitiveSensor
/ ! @brief get a capacitive sensor reading @param samples number of samples to take @return the sensor reading */ /
utility/CPlay_CapacitiveSensor.cpp:95
↓ 8 callers
Method
measure
utility/Adafruit_CPlay_FreeTouch.cpp:124
↓ 8 callers
Method
playTone
/ ! @brief play a tone on the onboard buzzer @param freq the frequency to play @param time the duration of the tone in milliseconds
Adafruit_CircuitPlayground.cpp:215
↓ 8 callers
Method
readCap
/ ! @brief read capacitive touch sensor @param p the pin to read. Must be a captouch enabled pin. @param samples Optional number of sam
Adafruit_CircuitPlayground.cpp:112
↓ 5 callers
Function
getBits
utility/talkie.cpp:64
↓ 5 callers
Function
lerp
Linear interpolation function is handy for all the modes to use.
examples/mega_demo/Demo.h:17
↓ 4 callers
Method
Color
! @brief Convert separate red, green and blue values into a single "packed" 32-bit RGB color. @param r Red brightness, 0 to
utility/Adafruit_CPlay_NeoPixel.h:303
↓ 3 callers
Function
IRLib_IRrecvComplete
* This function is called by both the 50us and PCI ISR in one of two circumstances: * 1) The SPACE was long enough that we are sure the frame is over
utility/IRLibRecvBase.cpp:161
↓ 3 callers
Method
gamma8
! @brief Get a gamma-corrected value from a gamma table @param x a 0 to 255 value corresponding to an index to the gamma table @returns
Adafruit_Circuit_Playground.h:234
↓ 3 callers
Method
getEvent
! * @brief Gets the most recent sensor event * @param *event * sensor event that we want to read * @return true if successful */
utility/Adafruit_CPlay_LIS3DH.cpp:363
↓ 3 callers
Method
read
! * @brief Reads x y z values at once */
utility/Adafruit_CPlay_LIS3DH.cpp:173
↓ 3 callers
Method
read
utility/Adafruit_ZeroPDM.cpp:357
↓ 3 callers
Method
setBrightness
! @brief Adjust output brightness. Does not immediately affect what's currently displayed on the LEDs. The next call to show() will
utility/Adafruit_CPlay_NeoPixel.cpp:2509
↓ 2 callers
Function
IRLIB_REJECTION_MESSAGE
utility/IRLibDecodeBase.h:77
↓ 2 callers
Method
begin
* Initialize the default Serial transport at the default baud of 57600. */
utility/CP_Firmata.cpp:78
↓ 1 callers
Function
IRLibDelayUSecs
The Arduino built in function delayMicroseconds has limits we wish to exceed Therefore we have created this alternative
utility/IRLibSendBase.cpp:93
↓ 1 callers
Function
IRLib_doBlink
Do the actual blinking off and on of the indicator LED. Called by the various * receiver ISRs */
utility/IRLibRecvBase.cpp:204
↓ 1 callers
Function
Pnames
* Returns a pointer to a flash stored string that is the name of the protocol received. */
utility/IRLibProtocols.cpp:18
↓ 1 callers
Method
available
* A wrapper for Stream::available() * @return The number of bytes remaining in the input stream buffer. */
utility/CP_Firmata.cpp:225
↓ 1 callers
Method
capture
/ ! @brief capture the passed number of samples and place them in buf. @param buf the buffer to store the samples in @param nSamples the
utility/Adafruit_CPlay_Mic.cpp:86
↓ 1 callers
Method
clear
! @brief Fill the whole NeoPixel strip with 0 / black / off. */
utility/Adafruit_CPlay_NeoPixel.cpp:2554
↓ 1 callers
Method
configure
utility/Adafruit_ZeroPDM.cpp:129
↓ 1 callers
Function
drawLine
Used to draw a line between two points of a given color
examples/mega_demo/VUMeterDemo.h:88
↓ 1 callers
Method
getBrightness
! @brief Retrieve the last-set brightness value for the strip. @return Brightness value: 0 = minimum (off), 255 = maximum. */
utility/Adafruit_CPlay_NeoPixel.cpp:2547
↓ 1 callers
Method
getClick
! * @brief Get uint8_t for single or double click * @return register LIS3DH_REG_CLICKSRC */
utility/Adafruit_CPlay_LIS3DH.cpp:312
↓ 1 callers
Method
isExpress
/ ! @brief check whether or not this device is a CircuitPlayground Express. @returns True if the device is a CircuitPlayground Express, false
Adafruit_CircuitPlayground.cpp:442
↓ 1 callers
Method
lightSensor
/ ! @brief read the onboard lightsensor @returns value between 0 and 1023 read from the light sensor @note 1000 Lux will roughly read as 2
Adafruit_CircuitPlayground.cpp:276
↓ 1 callers
Function
mapf
examples/mega_demo/VUMeterDemo.h:82
↓ 1 callers
Method
motionX
/ ! @brief read the X parameter of the onboard accelerometer. Value returned is defined by setAccelRange(). @returns X value of the accel
Adafruit_CircuitPlayground.cpp:300
↓ 1 callers
Method
motionY
/ ! @brief read the Y parameter of the onboard accelerometer. Value returned is defined by setAccelRange(). @returns Y value of the accel
Adafruit_CircuitPlayground.cpp:313
↓ 1 callers
Method
motionZ
/ ! @brief read the Z parameter of the onboard accelerometer. Value returned is defined by setAccelRange(). @returns the Z value of the o
Adafruit_CircuitPlayground.cpp:326
↓ 1 callers
Method
numPixels
! @brief Return the number of pixels in an Adafruit_NeoPixel strip object. @return Pixel count (0 if not set). */
utility/Adafruit_CPlay_NeoPixel.h:261
↓ 1 callers
Method
printVersion
* Send the Firmata protocol version to the Firmata host application. */
utility/CP_Firmata.cpp:117
↓ 1 callers
Function
rev
utility/talkie.cpp:57
↓ 1 callers
Method
setClick
! * @brief Set INT to output for single or double click * @param c * 0 = turn off I1_CLICK * 1 = turn on all axes & singletap
utility/Adafruit_CPlay_LIS3DH.cpp:281
↓ 1 callers
Method
setPin
! @brief Set/change the NeoPixel output pin number. Previous pin, if any, is set to INPUT and the new pin is set to OUTPUT. @param
utility/Adafruit_CPlay_NeoPixel.cpp:2201
↓ 1 callers
Method
setRange
! * @brief Sets the g range for the accelerometer * @param range * range value */
utility/Adafruit_CPlay_LIS3DH.cpp:321
↓ 1 callers
Method
soundPressureLevel
/ ! @brief Returns somewhat-calibrated sound pressure level. @param ms Milliseconds to continuously sample microphone over, 10ms is a good st
utility/Adafruit_CPlay_Mic.cpp:203
↓ 1 callers
Method
temperature
/ ! @brief read the onboard thermistor. @returns temperature reading in Centigrade. */ /
Adafruit_CircuitPlayground.cpp:338
↓ 1 callers
Method
temperatureF
/ ! @brief read the onboard thermistor. @returns temperature reading in Farenheight. */ /
Adafruit_CircuitPlayground.cpp:368
↓ 1 callers
Method
updateLength
! @brief Change the length of a previously-declared Adafruit_CPlay_NeoPixel strip object. Old data is deallocated and new data is clear
utility/Adafruit_CPlay_NeoPixel.cpp:115
↓ 1 callers
Method
updateType
! @brief Change the pixel format of a previously-declared Adafruit_CPlay_NeoPixel strip object. If format changes from one of
utility/Adafruit_CPlay_NeoPixel.cpp:145
Method
ABS_MATCH
utility/IRLibDecodeBase.cpp:139
Method
Adafruit_CPlay_FreeTouch
utility/Adafruit_CPlay_FreeTouch.cpp:30
Method
Adafruit_CPlay_LIS3DH
! * @brief Instantiates a new LIS3DH class in I2C * @param Wi * optional wire object */
utility/Adafruit_CPlay_LIS3DH.cpp:34
Method
Adafruit_CPlay_Mic
utility/Adafruit_CPlay_Mic.h:28
Method
Adafruit_CPlay_NeoPixel
! @brief NeoPixel constructor when length, pin and pixel type are known at compile-time. @param n Number of NeoPixels in strand.
utility/Adafruit_CPlay_NeoPixel.cpp:62
Method
Adafruit_CPlay_Speaker
utility/Adafruit_CPlay_Speaker.h:20
Method
Adafruit_Sensor
Constructor(s)
utility/Adafruit_CPlay_Sensor.h:146
Method
Adafruit_ZeroPDM
utility/Adafruit_ZeroPDM.cpp:39
Method
CPlay_CapacitiveSensor
/ ! @brief Function that handles the creation and setup of instances @param sendPin send pin for the sensor @param receivePin the receiv
utility/CPlay_CapacitiveSensor.cpp:29
Method
CapTouchDemo
examples/mega_demo/CapTouchDemo.h:14
Method
ColorHSV
! @brief Convert hue, saturation and value into a packed 32-bit RGB color that can be passed to setPixelColor() or other RGB-compatible
utility/Adafruit_CPlay_NeoPixel.cpp:2368
Method
FidgetSpinner
examples/FidgetSpinner/FidgetSpinner.h:18
Method
FirmataClass
* The Firmata class. * An instance named "Firmata" is created automatically for the user. */
utility/CP_Firmata.cpp:64
Function
IRLIB_DATA_ERROR_MESSAGE
utility/IRLibDecodeBase.h:78
Function
IRLIB_TRACE_MESSAGE
utility/IRLibDecodeBase.h:76
Function
IRLib_NoOutput
If your hardware is set up to do both output and input but your particular sketch * doesn't do any output, this method will ensure that your output p
utility/IRLibRecvBase.cpp:194
Method
IRdecodeBase
utility/IRLibDecodeBase.cpp:16
Method
IRrecvBase
utility/IRLibRecvBase.h:41
Method
IRrecvBase
The base constructor receives the pin number
utility/IRLibRecvBase.cpp:30
Method
IRrecvPCI
Note that the constructor is passed the interrupt number rather than the pin number. * WARNING: These interrupt numbers which are passed to �attachIn
utility/IRLibRecvPCI.cpp:30
Method
IRrecvPCI
utility/IRLibRecvPCI.h:26
Function
IRrecvPCI_Handler
This is the interrupt handler used by this class. It is called every time the input * pin changes from high to low or from low to high. The initial s
utility/IRLibRecvPCI.cpp:102
Method
IRsendBase
utility/IRLibSendBase.cpp:86
Method
IRsendDirecTV
utility/IRLib_P10_DirecTV.h:52
Method
MATCH
utility/IRLibDecodeBase.cpp:131
Method
PeakDetector
examples/FidgetSpinner/PeakDetector.h:19
Method
RainbowCycleDemo
examples/mega_demo/RainbowCycleDemo.h:12
Method
SenseOneCycle
/ ! @brief sense a single sicle @return the reading */ /
utility/CPlay_CapacitiveSensor.cpp:201
Method
SensorDemo
examples/mega_demo/SensorDemo.h:26
Method
TiltDemo
examples/mega_demo/TiltDemo.h:24
Method
VUMeterDemo
examples/mega_demo/VUMeterDemo.h:24
Method
_incrementIndex
examples/FidgetSpinner/PeakDetector.h:100
Method
_previousIndex
examples/FidgetSpinner/PeakDetector.h:111
Method
attach
* Attach a generic sysex callback function to a command (options are: ANALOG_MESSAGE, * DIGITAL_MESSAGE, REPORT_ANALOG, REPORT DIGITAL, SET_PIN_MODE
utility/CP_Firmata.cpp:497
Method
begin
/ ! @brief Set up the CircuitPlayground hardware @param brightness Optional brightness to set the neopixels to @returns True if device i
Adafruit_CircuitPlayground.cpp:39
Method
begin
! * @brief Setups the HW (reads coefficients values, etc.) * @param i2caddr * i2c address (optional, fallback to default) * @param
utility/Adafruit_CPlay_LIS3DH.cpp:83
Method
begin
utility/Adafruit_CPlay_FreeTouch.cpp:40
Method
begin
/ ! @brief Sets up Circuit Playground speaker for PWM audio output: enables 48 KHz high-speed PWM mode, configures Timer/Counter 4, sets
utility/Adafruit_CPlay_Speaker.cpp:14
Method
begin
utility/Adafruit_ZeroPDM.cpp:44
Method
begin
! @brief Configure NeoPixel pin for output. */
utility/Adafruit_CPlay_NeoPixel.cpp:97
Function
blink13
Turn on or off a blinking LED which indicates signal received. Usually pin 13.
utility/IRLibRecvBase.cpp:51
Method
blinkVersion
* Blink the Firmata protocol version to the onboard LEDs (if the board has an onboard LED). * If VERSION_BLINK_PIN is not defined in Boards.h for a p
utility/CP_Firmata.cpp:131
Method
canShow
! @brief Check whether a call to show() will start sending data immediately or will 'block' for a required interval. NeoPixels
utility/Adafruit_CPlay_NeoPixel.h:235
Method
capacitiveSensorRaw
/ ! @brief get a raw sensor reading @param samples the number of samples to take @return -1 for error, -2 for timeout, other values are
utility/CPlay_CapacitiveSensor.cpp:150
Method
clearEOCintFlag
utility/Adafruit_CPlay_FreeTouch.cpp:376
Method
clearPixels
/ ! @brief turn off all neopixels on the board */ /
Adafruit_Circuit_Playground.h:183
Method
clearWCOintFlag
utility/Adafruit_CPlay_FreeTouch.cpp:370
Method
decode
utility/IRLib_P04_RC6.h:92
Method
decode
utility/IRLib_P05_Panasonic_Old.h:36
Method
decode
utility/IRLib_HashRaw.h:69
Method
decode
utility/IRLib_P03_RC5.h:73
Method
decode
utility/IRLib_P06_JVC.h:43
Method
decode
utility/IRLibCombo.h:169
Method
decode
utility/IRLib_P09_GICable.h:46
next →
1–100 of 261, ranked by callers