This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Written by: Ho Yun "Bobby" Chan | |
Modified: Dec 20, 2021 | |
@ SparkFun Electronics | |
"Breathing sleep LED, like on a Mac." | |
Originally Written By: Jeremy Saglimbeni 2011 | |
thecustomgeek.com | |
Description: This sketch makes the LEDs breath like on a Mac. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************************************** | |
Digital Indoor Temperature Monitor with the TMP117 | |
Written by: Ho Yun "Bobby" Chan | |
@ SparkFun Electronics | |
Updated: Dec 19, 2021 | |
Date: Mar 6, 2020 | |
Description: This sketch configures temperature sensors and prints the | |
temperature in degrees celsius and fahrenheit to the Qwiic microOLED. | |
Simply adjust the `output_select` to view the °C, °F, or both. You can |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
HTU21D Humidity Sensor Example Code | |
By: Nathan Seidle | |
SparkFun Electronics | |
Date: September 15th, 2013 | |
License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license). | |
Uses the HTU21D library to display the current humidity and temperature | |
Open serial monitor at 9600 baud to see readings. Errors 998 if not sensor is detected. Error 999 if CRC is bad. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/****************************************************************************** | |
WRITTEN BY: Ho Yun "Bobby" Chan | |
@ SparkFun Electronics | |
DATE: 10/19/2021 | |
GITHUB REPO: ______________________________ | |
DEVELOPMENT ENVIRONMENT SPECIFICS: | |
Firmware developed using Arduino IDE v1.8.12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ========== DESCRIPTION========== | |
# Example using PIO to drive a set of WS2812 LEDs. | |
# | |
# The following code was originally written by | |
# the Raspberry Pi Foundation. You can find this | |
# example on GitHub. | |
# | |
# https://github.com/raspberrypi/pico-micropython-examples/blob/master/pio/neopixel_ring/neopixel_ring.py | |
# | |
# Note that the 'NUM_LEDs' was adjusted to 1. Also |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ========== DESCRIPTION========== | |
# The following code was originally written by | |
# the Raspberry Pi Foundation. You can find this | |
# example on GitHub. | |
# | |
# https://github.com/raspberrypi/pico-micropython-examples/blob/master/blink/blink.py | |
# | |
# Note that the GPIO for the LED was adjusted | |
# for the Pro Micro RP2040. Make sure to use | |
# a current limiting resistor with the LED. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
#----------------------------------------------------------------------------- | |
# combined1_RGB_SerLCD_ICM20948.py | |
# | |
# Combined example to control the RGB LED on the SerLCD | |
# based on the accelerometer readings on the ICM20948. | |
#------------------------------------------------------------------------ | |
# | |
# Written by SparkFun Electronics, March 2020 | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# | |
#----------------------------------------------------------------------------- | |
# 9DOF_ICM_Mod.py | |
# | |
# Combined Example for the Top pHAT and Qwiic ICM20948 Device. | |
# The WS2812 LEDs will change color based on the accelerometer's | |
# orientation. | |
# | |
#------------------------------------------------------------------------ |