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
# -*- coding: utf-8 -*- | |
import argparse | |
import base64 | |
import httplib2 | |
import picamera | |
import os | |
import re | |
from datetime import datetime | |
from googleapiclient import discovery |
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
# -*- coding: utf-8 -*- | |
… | |
default_trans = 'ja-JP' | |
aiy_lang = ['en-US', 'en-GB', 'de-DE', 'es-ES', 'fr-FR', 'it-IT'] | |
import urllib.request, urllib.parse, urllib.error | |
DEVICE = 0 | |
CARD = 0 | |
VOLUME = 50 | |
aquest_dir = '/home/pi/AIY-projects-python/src/aquestalkpi/AquesTalkPi' | |
from google.cloud import translate |
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
# -*- coding: utf-8 -*- | |
… | |
default_trans = 'ja-JP' | |
aiy_lang = ['en-US', 'en-GB', 'de-DE', 'es-ES', 'fr-FR', 'it-IT'] | |
import urllib.request, urllib.parse, urllib.error | |
DEVICE = 0 | |
CARD = 0 | |
VOLUME = 50 | |
aquest_dir = '/home/pi/AIY-projects-python/src/aquestalkpi/AquesTalkPi' | |
from google.cloud import translate |
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 <SPI.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_ILI9341.h> | |
#include <Fonts/FreeSans12pt7b.h> | |
#include <Fonts/FreeSans18pt7b.h> | |
#include <Fonts/FreeSans40pt7b.h> | |
#include <Wire.h> | |
#include <RTClib.h> | |
#include "time.h" | |
#include <HardwareSerial.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
#include | |
#include | |
#include | |
const char *ssid = "WiFiのSSID"; | |
const char *pass = "WiFiのパスワード"; | |
IPAddress ip(子機に割り当てるIPアドレス); | |
IPAddress gateway(デフォルトゲートウェイのIPアドレス); | |
const char* stop_url = "http://本体のIPアドレス/stop"; |
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 <SPI.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_ILI9341.h> | |
#include <Fonts/FreeSans12pt7b.h> | |
#include <Fonts/FreeSans18pt7b.h> | |
#include <Fonts/FreeSans40pt7b.h> | |
#include <Wire.h> | |
#include <RTClib.h> | |
#include "time.h" | |
#include <HardwareSerial.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
#include <WiFi.h> | |
#include <WebServer.h> | |
#include <HTTPClient.h> | |
const char *ssid = "WiFiのSSID"; | |
const char *pass = "WiFiのパスワード"; | |
IPAddress ip(子機に割り当てるIPアドレス); | |
IPAddress gateway(デフォルトゲートウェイのIPアドレス); | |
const char* stop_url = "http://本体のIPアドレス/stop"; |
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 <SPI.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_ILI9341.h> | |
#include <Fonts/FreeSans12pt7b.h> | |
#include <Fonts/FreeSans18pt7b.h> | |
#include <Fonts/FreeSans40pt7b.h> | |
#include <Wire.h> | |
#include <RTClib.h> | |
#include "time.h" | |
#include <HardwareSerial.h> |
OlderNewer