Skip to content

Instantly share code, notes, and snippets.

View pco2699's full-sized avatar

pco2699

View GitHub Profile
#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
#!/usr/bin/python
# *- coding: utf-8 -*-
import mido
import time
import random
NUM_X = 8
NUM_Y = 8
@pco2699
pco2699 / bing_api.py
Created September 28, 2016 14:15 — forked from katryo/bing_api.py
# -*- coding: utf-8 -*-
import urllib
import requests
import json
class Bing(object):
# コンストラクタ(初期化)
def __init__(self, key):
self.api_key = key