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
| /* | |
| Get basic environmental readings from the BME280 | |
| By: Nathan Seidle | |
| SparkFun Electronics | |
| Date: March 9th, 2018 | |
| License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license). | |
| Feel like supporting our work? Buy a board from SparkFun! | |
| https://www.sparkfun.com/products/14348 - Qwiic Combo Board | |
| https://www.sparkfun.com/products/13676 - BME280 Breakout Board |
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
| # safe_restart_shutdown_Pi.py | |
| # | |
| # ----------------------------------------------------------------------------- | |
| # Raspberry Pi Safe Restart and Shutdown Python Script | |
| # ----------------------------------------------------------------------------- | |
| # WRITTEN BY: Ho Yun "Bobby" Chan | |
| # @ SparkFun Electronics | |
| # DATE: 3/31/2020 | |
| # | |
| # Based on code from the following blog and tutorials: |
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
| # safe_shutdown_Pi.py | |
| # | |
| # ----------------------------------------------------------------------------- | |
| # Raspberry Pi Safe Shutdown Python Script | |
| # ----------------------------------------------------------------------------- | |
| # WRITTEN BY: Ho Yun "Bobby" Chan | |
| # @ SparkFun Electronics | |
| # DATE: 3/31/2020 | |
| # | |
| # Based on code from the following blog and tutorials: |
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
| /* | |
| 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 |
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
| /****************************************************************************** | |
| Simple Serial Test of the Sparkun nRF52840 Mini Bluetooth Development Board | |
| Written by: Ho Yun "Bobby" Chan | |
| @ SparkFun Electronics | |
| Date: May 29, 2020 | |
| Description: This sketch sets up the built-in LED, native USB | |
| serial port, and hardware serial pins. The nRF52840 will print | |
| a message based on the status of the LED to both the Arduino | |
| serial monitor using `Serial` and the hardware serial pins |
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
| /* | |
| 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 |