Skip to content

Instantly share code, notes, and snippets.

View TareObjects's full-sized avatar

Koichi Kurahashi TareObjects

View GitHub Profile
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <Servo.h>
#include <Wire.h>
#include <HDC1000.h>
const char *ssid = "arduino";
const char *password = "1234567890qaz";
WiFiClient client;
#include <Wire.h>
#include <Adafruit_NeoPixel.h>
#include <ADXL345.h>
#include <Time.h>
//
// NeoPixel
//
#ifdef __AVR__
#include <avr/power.h>
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <Wire.h>
#include <Adafruit_NeoPixel.h>
#include <ADXL345.h>
#include <Time.h>
//
// Wifi
#include <Wire.h>
#include <Adafruit_NeoPixel.h>
#include <ADXL345.h>
#include <Time.h>
//
// NeoPixel
//
#ifdef __AVR__
#include <avr/power.h>
#include "mbed.h"
#include "neopixel.h"
// This must be an SPI MOSI pin.
#define DATA_PIN dp2
#define N_COL 8
#define N_ROW 8
#define N_LED (N_COL * N_ROW)
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
#include "Ticker.h"
const char* ssid = "arduino";
const char* password = "1234567890qaz";
MDNSResponder mdns;
#include <sRTC.h>
#include <legacymsp430.h>
#include <APDS9930.h>
// LEDのポート
const int segA = P1_4;
const int segB = P1_5;
const int segC = P2_0;
const int segD = P2_5;
const int segE = P2_2;
// Bright board
// ver 0.0 ボードのテスト用。ボリューム輝度調整、温度による出力制限など
//
// ver 0.1 2016-01-08 IR Receiverを追加してリモコン通知機能として実装
//
#include "mbed.h"
#include "AQM0802.h"
#include "ReceiverIR.h"
// UDP受信プログラムより
// http://yuu7777.fc2web.com/javanet6/12.htm
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.SocketAddress;
public class UDPRecTest{
#define USE_US_TIMER 1
extern "C" {
#include <spi.h>
#include <spi_register.h>
#include "user_interface.h"
}