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 "MHZ19.h" | |
#include <SoftwareSerial.h> // Remove if using HardwareSerial or non-uno compatabile device | |
#include <WiFi.h> | |
#include "Ambient.h" | |
#define BAUDRATE 9600 // Native to the sensor (do not change) | |
const int rx_pin = 16; //Serial rx pin no | |
const int tx_pin = 17; //Serial tx pin no |
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/python | |
# *- coding: utf-8 -*- | |
import mido | |
import time | |
import random | |
NUM_X = 8 | |
NUM_Y = 8 |
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 urllib | |
import requests | |
import json | |
class Bing(object): | |
# コンストラクタ(初期化) | |
def __init__(self, key): | |
self.api_key = key |