This file contains 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
#include <IOXhop_FirebaseESP32.h> | |
// Set these to run example. | |
#define WIFI_SSID "xxxxxxxx" | |
#define WIFI_PASSWORD "xxxxxxxx" | |
#define FIREBASE_DB_URL "home-messenger-xxxxx.firebaseio.com" | |
#define FIREBASE_DB_DATA_PATH "/messages" | |
#define FIREBASE_DB_DATA_KEY "/mobile1ToHome" | |
#include <ESP32_SD_ShinonomeFNT.h> | |
#include <ESP32_SD_UTF8toSJIS.h> |
This file contains 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 | |
""" | |
animatronic_mouth.py | |
This script animates a motorized mouth on a Raspberry Pi GPIO pin so that it | |
appears to be speaking alongside the audio on the specified PulseAudio source | |
(which usually should be a sink's monitor). | |
Find PA_SOURCE with `pactl list` and look for a monitor device that corresponds |
This file contains 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 | |
from mvnc import mvncapi as mvnc | |
import sys | |
import numpy | |
import cv2 | |
path_to_networks = './' | |
path_to_images = '../../data/images/' | |
graph_filename = 'graph' | |
#image_filename = path_to_images + 'cat.jpg' |
This file contains 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
// Modified from https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/HID/USBHIDBootKbd/USBHIDBootKbd.ino | |
// Modified to print the ASCII hex codes of the keys pressed, and to handle some of the non-printable keys. | |
#include <hidboot.h> | |
#include <usbhub.h> | |
// Satisfy IDE, which only needs to see the include statment in the ino. | |
#ifdef dobogusinclude | |
#include <spi4teensy3.h> | |
#endif |
NewerOlder