MCPcopy Create free account

hub / github.com/adafruit/Adafruit_CircuitPlayground / functions

Functions261 in github.com/adafruit/Adafruit_CircuitPlayground

↓ 22 callersMethodwrite
* 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 callersMethodsetPixelColor
! @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 callersFunctionIRLIB_ATTEMPT_MESSAGE
utility/IRLibDecodeBase.h:75
↓ 11 callersMethodcolorWheel
/ ! @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 callersMethodcapacitiveSensor
/ ! @brief get a capacitive sensor reading @param samples number of samples to take @return the sensor reading */ /
utility/CPlay_CapacitiveSensor.cpp:95
↓ 8 callersMethodmeasure
utility/Adafruit_CPlay_FreeTouch.cpp:124
↓ 8 callersMethodplayTone
/ ! @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 callersMethodreadCap
/ ! @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 callersFunctiongetBits
utility/talkie.cpp:64
↓ 5 callersFunctionlerp
Linear interpolation function is handy for all the modes to use.
examples/mega_demo/Demo.h:17
↓ 4 callersMethodColor
! @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 callersFunctionIRLib_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 callersMethodgamma8
! @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 callersMethodgetEvent
! * @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 callersMethodread
! * @brief Reads x y z values at once */
utility/Adafruit_CPlay_LIS3DH.cpp:173
↓ 3 callersMethodread
utility/Adafruit_ZeroPDM.cpp:357
↓ 3 callersMethodsetBrightness
! @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 callersFunctionIRLIB_REJECTION_MESSAGE
utility/IRLibDecodeBase.h:77
↓ 2 callersMethodbegin
* Initialize the default Serial transport at the default baud of 57600. */
utility/CP_Firmata.cpp:78
↓ 1 callersFunctionIRLibDelayUSecs
The Arduino built in function delayMicroseconds has limits we wish to exceed Therefore we have created this alternative
utility/IRLibSendBase.cpp:93
↓ 1 callersFunctionIRLib_doBlink
Do the actual blinking off and on of the indicator LED. Called by the various * receiver ISRs */
utility/IRLibRecvBase.cpp:204
↓ 1 callersFunctionPnames
* Returns a pointer to a flash stored string that is the name of the protocol received. */
utility/IRLibProtocols.cpp:18
↓ 1 callersMethodavailable
* A wrapper for Stream::available() * @return The number of bytes remaining in the input stream buffer. */
utility/CP_Firmata.cpp:225
↓ 1 callersMethodcapture
/ ! @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 callersMethodclear
! @brief Fill the whole NeoPixel strip with 0 / black / off. */
utility/Adafruit_CPlay_NeoPixel.cpp:2554
↓ 1 callersMethodconfigure
utility/Adafruit_ZeroPDM.cpp:129
↓ 1 callersFunctiondrawLine
Used to draw a line between two points of a given color
examples/mega_demo/VUMeterDemo.h:88
↓ 1 callersMethodgetBrightness
! @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 callersMethodgetClick
! * @brief Get uint8_t for single or double click * @return register LIS3DH_REG_CLICKSRC */
utility/Adafruit_CPlay_LIS3DH.cpp:312
↓ 1 callersMethodisExpress
/ ! @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 callersMethodlightSensor
/ ! @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 callersFunctionmapf
examples/mega_demo/VUMeterDemo.h:82
↓ 1 callersMethodmotionX
/ ! @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 callersMethodmotionY
/ ! @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 callersMethodmotionZ
/ ! @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 callersMethodnumPixels
! @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 callersMethodprintVersion
* Send the Firmata protocol version to the Firmata host application. */
utility/CP_Firmata.cpp:117
↓ 1 callersFunctionrev
utility/talkie.cpp:57
↓ 1 callersMethodsetClick
! * @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 callersMethodsetPin
! @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 callersMethodsetRange
! * @brief Sets the g range for the accelerometer * @param range * range value */
utility/Adafruit_CPlay_LIS3DH.cpp:321
↓ 1 callersMethodsoundPressureLevel
/ ! @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 callersMethodtemperature
/ ! @brief read the onboard thermistor. @returns temperature reading in Centigrade. */ /
Adafruit_CircuitPlayground.cpp:338
↓ 1 callersMethodtemperatureF
/ ! @brief read the onboard thermistor. @returns temperature reading in Farenheight. */ /
Adafruit_CircuitPlayground.cpp:368
↓ 1 callersMethodupdateLength
! @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 callersMethodupdateType
! @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
MethodABS_MATCH
utility/IRLibDecodeBase.cpp:139
MethodAdafruit_CPlay_FreeTouch
utility/Adafruit_CPlay_FreeTouch.cpp:30
MethodAdafruit_CPlay_LIS3DH
! * @brief Instantiates a new LIS3DH class in I2C * @param Wi * optional wire object */
utility/Adafruit_CPlay_LIS3DH.cpp:34
MethodAdafruit_CPlay_Mic
utility/Adafruit_CPlay_Mic.h:28
MethodAdafruit_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
MethodAdafruit_CPlay_Speaker
utility/Adafruit_CPlay_Speaker.h:20
MethodAdafruit_Sensor
Constructor(s)
utility/Adafruit_CPlay_Sensor.h:146
MethodAdafruit_ZeroPDM
utility/Adafruit_ZeroPDM.cpp:39
MethodCPlay_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
MethodCapTouchDemo
examples/mega_demo/CapTouchDemo.h:14
MethodColorHSV
! @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
MethodFidgetSpinner
examples/FidgetSpinner/FidgetSpinner.h:18
MethodFirmataClass
* The Firmata class. * An instance named "Firmata" is created automatically for the user. */
utility/CP_Firmata.cpp:64
FunctionIRLIB_DATA_ERROR_MESSAGE
utility/IRLibDecodeBase.h:78
FunctionIRLIB_TRACE_MESSAGE
utility/IRLibDecodeBase.h:76
FunctionIRLib_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
MethodIRdecodeBase
utility/IRLibDecodeBase.cpp:16
MethodIRrecvBase
utility/IRLibRecvBase.h:41
MethodIRrecvBase
The base constructor receives the pin number
utility/IRLibRecvBase.cpp:30
MethodIRrecvPCI
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
MethodIRrecvPCI
utility/IRLibRecvPCI.h:26
FunctionIRrecvPCI_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
MethodIRsendBase
utility/IRLibSendBase.cpp:86
MethodIRsendDirecTV
utility/IRLib_P10_DirecTV.h:52
MethodMATCH
utility/IRLibDecodeBase.cpp:131
MethodPeakDetector
examples/FidgetSpinner/PeakDetector.h:19
MethodRainbowCycleDemo
examples/mega_demo/RainbowCycleDemo.h:12
MethodSenseOneCycle
/ ! @brief sense a single sicle @return the reading */ /
utility/CPlay_CapacitiveSensor.cpp:201
MethodSensorDemo
examples/mega_demo/SensorDemo.h:26
MethodTiltDemo
examples/mega_demo/TiltDemo.h:24
MethodVUMeterDemo
examples/mega_demo/VUMeterDemo.h:24
Method_incrementIndex
examples/FidgetSpinner/PeakDetector.h:100
Method_previousIndex
examples/FidgetSpinner/PeakDetector.h:111
Methodattach
* 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
Methodbegin
/ ! @brief Set up the CircuitPlayground hardware @param brightness Optional brightness to set the neopixels to @returns True if device i
Adafruit_CircuitPlayground.cpp:39
Methodbegin
! * @brief Setups the HW (reads coefficients values, etc.) * @param i2caddr * i2c address (optional, fallback to default) * @param
utility/Adafruit_CPlay_LIS3DH.cpp:83
Methodbegin
utility/Adafruit_CPlay_FreeTouch.cpp:40
Methodbegin
/ ! @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
Methodbegin
utility/Adafruit_ZeroPDM.cpp:44
Methodbegin
! @brief Configure NeoPixel pin for output. */
utility/Adafruit_CPlay_NeoPixel.cpp:97
Functionblink13
Turn on or off a blinking LED which indicates signal received. Usually pin 13.
utility/IRLibRecvBase.cpp:51
MethodblinkVersion
* 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
MethodcanShow
! @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
MethodcapacitiveSensorRaw
/ ! @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
MethodclearEOCintFlag
utility/Adafruit_CPlay_FreeTouch.cpp:376
MethodclearPixels
/ ! @brief turn off all neopixels on the board */ /
Adafruit_Circuit_Playground.h:183
MethodclearWCOintFlag
utility/Adafruit_CPlay_FreeTouch.cpp:370
Methoddecode
utility/IRLib_P04_RC6.h:92
Methoddecode
utility/IRLib_P05_Panasonic_Old.h:36
Methoddecode
utility/IRLib_HashRaw.h:69
Methoddecode
utility/IRLib_P03_RC5.h:73
Methoddecode
utility/IRLib_P06_JVC.h:43
Methoddecode
utility/IRLibCombo.h:169
Methoddecode
utility/IRLib_P09_GICable.h:46
next →1–100 of 261, ranked by callers