Skip to content

Instantly share code, notes, and snippets.

Avatar

Ho Yun "Bobby" bboyho

View GitHub Profile
@bboyho
bboyho / SGP40_SHTC3_STC31.ino
Created Oct 19, 2021
Combined Sensor Example with SGP40 SHTC3 STC31
View SGP40_SHTC3_STC31.ino
/******************************************************************************
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
View WS2812.py
# ========== 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
View blink.py
View combined1_ICM20948_RGB_SerLCD.py
#!/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
#
@bboyho
bboyho / 9DOF_ICM_Mod.py
Created Dec 16, 2020
Combined Example for the Top pHAT and Qwiic ICM20948 Device. The WS2812 LEDs will change color based on the accelerometer's orientation.
View 9DOF_ICM_Mod.py
#!/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.
#
#------------------------------------------------------------------------
View Example15_GetDateTime_Zone_DST_7Seg_I2C.ino
/*
Getting the time and date in your timezone using Ublox commands
Originally Written By: davidallenmann
Modified By: Ho Yun "Bobby" Chan
SparkFun Electronics
Date: April 16th, 2019
License: MIT. See license file for more information but you can
basically do whatever you want with this code.
This is a modified example that shows how to query a Ublox module for the current time and date. We also
View Example15_GetDateTime_Zone_DST_microOLED_No_Serial_DEBUG.ino
/*
Getting the time and date in your timezone using Ublox commands
Originally Written By: davidallenmann
Modified By: Ho Yun "Bobby" Chan
SparkFun Electronics
Date: April 16th, 2019
License: MIT. See license file for more information but you can
basically do whatever you want with this code.
This is a modified example that shows how to query a Ublox module for the current time and date. We also
View Example15_GetDateTime_Zone_DST_microOLED_No_Serial.ino
/*
Getting the time and date in your timezone using Ublox commands
Originally Written By: davidallenmann
Modified By: Ho Yun "Bobby" Chan
SparkFun Electronics
Date: April 16th, 2019
License: MIT. See license file for more information but you can
basically do whatever you want with this code.
This is a modified example that shows how to query a Ublox module for the current time and date. We also
View Example15_GetDateTime_Zone_DST_microOLED_Digital_No_Serial.ino
/*
Getting the time and date in your timezone using Ublox commands
Originally Written By: davidallenmann
Modified By: Ho Yun "Bobby" Chan
SparkFun Electronics
Date: April 16th, 2019
License: MIT. See license file for more information but you can
basically do whatever you want with this code.
This is a modified example that shows how to query a Ublox module for the current time and date. We also
View Example15_GetDateTime_Zone_DST_Serial.ino
/*
Getting the time and date in your timezone using Ublox commands
Originally Written By: davidallenmann
Modified By: Ho Yun "Bobby" Chan
SparkFun Electronics
Date: April 16th, 2019
License: MIT. See license file for more information but you can
basically do whatever you want with this code.
This is a modified example that shows how to query a Ublox module for the current time and date. We also