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
| /** | |
| * Fingerprint Door Demo | |
| * Date: February 26, 2018 | |
| * Author: Shawn Hymel (SparkFun Electronics) | |
| * | |
| * Connect a GT-521F32 fingerprint and servo to an Arduino Pro | |
| * Mini (3.3V). Install the FPS_GT511C3 library and run the | |
| * FPS_Enroll example to enroll a fingerprint. Upload this | |
| * program to display a message on the OLED on correct | |
| * fingerprint identification. |
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
| // Pins | |
| const int led_pin = PB5; | |
| // Counter and compare values | |
| const uint16_t t1_load = 0; | |
| const uint16_t t1_comp = 31250; | |
| void setup() { | |
| // Set LED pin to be output |
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
| /** | |
| * Save Reminder | |
| * Date: February 1, 2018 | |
| * Author: Shawn Hymel (SparkFun Electronics) | |
| * | |
| * Connect to an open USB port on your computer. Every 5 minutes, | |
| * the LED will begin flashing. Press the button to send a ctl+s | |
| * or cmd+s key press to your computer to save your work. | |
| * | |
| * Pick your operating system by updating the OS variable. |
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
| /** | |
| * H3LIS331 Ball Demo | |
| * | |
| * Date: December 13, 2017 | |
| * Author: Shawn Hymel (SparkFun Electronics) | |
| * | |
| * Moves a ball around the OLED. | |
| * | |
| * Connect the H3LIS331 breakout board to the Arduino's I2C port | |
| * (A4 and A5 on most boards). Connect Micro OLED board to SPI |
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
| /** | |
| * Two Channel Receiver | |
| * Author: Shawn Hymel (SparkFun Electronics) | |
| * Date: Aug 24, 2017 | |
| * | |
| * Updated Sep 28, 2017 - Added direction multiplier (DIR) to | |
| * account for transmitter controller directions. | |
| * | |
| * Connect a TB6612FNG and RC (PWM) receiver to the Arduino. | |
| * Mixes two channels for arcade drive. |
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 python | |
| import smbus | |
| import calendar | |
| import time | |
| import picamera | |
| import os, errno | |
| wait = 5.0 | |
| iso = 100 |
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
| /** | |
| * Two Channel Receiver | |
| * Author: Shawn Hymel (SparkFun Electronics) | |
| * Date: Aug 24, 2017 | |
| * | |
| * Connect a TB6612FNG and RC (PWM) receiver to the Arduino. | |
| * Mixes two channels for arcade drive. | |
| * | |
| * This code is beerware; if you see me (or any other SparkFun | |
| * employee) at the local, and you've found our code helpful, |