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
@ECHO OFF | |
:: このスクリプトは、PCBE で出力されたガーバーデータを、Fusion PCB | |
:: に発注する際の適切な名前に変更するものである。 | |
:: 変更するファイル名のベース部分は、このスクリプトファイルのベース | |
:: 部分を使用する。 ※ベース部分には、空白が含まれていてもよい。 | |
:: PCBE to Fusion PCB setup | |
ECHO /// | |
ECHO // 基板名称 [%~n0] | |
ECHO / |
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
@ECHO OFF | |
:: このスクリプトは、PCBE で出力されたガーバーデータを、Fusion PCB | |
:: に発注する際の適切な名前に変更するものである。 | |
:: 変更するファイル名のベース部分は、このスクリプトファイルのベース | |
:: 部分を使用する。 ※ベース部分には、空白が含まれていてもよい。 | |
:: PCBE to Fusion PCB setup | |
ECHO /// | |
ECHO // 基板名称 [%~n0] | |
ECHO / |
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 <16F887.h> | |
#fuses HS,NOWDT,BROWNOUT,NOMCLR,NOLVP,NOCPD | |
#device ADC=8 // AD変換分解能の指定 | |
#use delay(clock=10M) | |
// I2C使用宣言 | |
// MASTER - マスタ・デバイスを設定 | |
// SLAVE - スレーブ・デバイスを設定 | |
// SCL=pin - SCL ピンを指定(ビットアドレス) | |
// SDA=pin - SDA ピンを指定 |
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
/** | |
@file AXIS_KXP84.cpp | |
@brief This is a library for the KXP84-2050 3AXIS I2C Brick. | |
@author Tomokatsu Sakamoto <tomokatsu.sakamoto@gmail.com> | |
*/ | |
#include "AXIS_KXP84.h" | |
/** | |
@brief Constructor |
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
// ESP8266 Car ② | |
// | |
// WiFiブルドーザー 制御スケッチ | |
// Pololu社製DRV8835 Driver Carrier | |
// ESP-WROOM-02 スマホでコントロール | |
// dataディレクトリにhtmlファイル収納 | |
// by RoboFarm http://www.robofarm.jp | |
// |
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
/* | |
ESP-WROOM-02 + LCD で現在時刻を表示(NTPで現在時刻を取得) | |
https://qiita.com/exabugs/items/b1b7430d185b268a1abf | |
*/ | |
#include <ESP8266WiFi.h> | |
#include <NTP.h> | |
#include <ST7032.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
/* | |
ESP-WROOM-02 + MCP3204 でA/D変換 | |
*/ | |
#include <ESP8266WiFi.h> | |
#include <SPI.h> | |
#define CS 15 | |
void setup( ) |
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
/////////////////////////////////////////////////////////////////////// | |
// 現在の Wi-Fi 状態を表示 | |
int WiFi_Status( void ) | |
{ | |
int status = WL_IDLE_STATUS; // the Wifi radio's status | |
Serial.print( | |
"WiFi.status( ) = " ); | |
switch ( status = WiFi.status( ) ) { | |
case WL_CONNECTED: |
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
/////////////////////////////////////////////////////////////////////// | |
// ESP-WROOM-02 のチップIDを用いて SSID を生成する | |
void getSSID( | |
char *buff ) // | |
{ | |
sprintf( buff, "ESP_%6X", ESP.getChipId( ) ); | |
} |
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
/////////////////////////////////////////////////////////////////////// | |
// ESP-WROOM-02 のチップIDを用いて SSID を生成する | |
void getSSID( | |
char *buff ) // | |
{ | |
sprintf( buff, "ESP_%6X", ESP.getChipId( ) ); | |
} |
OlderNewer