mirror of
https://github.com/m5stack/m5-docs.git
synced 2026-05-20 10:23:01 -07:00
release ATOM SPK and update some info
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@
|
||||
|
||||
*以下のコードは不完全です(説明のためだけに). 完全なコードが必要な場合は、ここをクリックしてください[サンプルコード](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ADC/Arduino/ADC_ADS1100).*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <M5Stack.h>
|
||||
#include <Wire.h>
|
||||
#include "ADS1100.h"
|
||||
|
||||
@@ -39,7 +39,7 @@ M5CoreのGROVE Bインターフェースに接続して、利用可能です。
|
||||
|
||||
画面にユニット出力電圧値に対応するデジタル値を表示します。 範囲は0~4095です。
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <M5Stack.h>
|
||||
// select the input pin for the potentiometer
|
||||
int sensorPin = 36;
|
||||
|
||||
@@ -46,7 +46,7 @@ NCピンは使用されていません。信号ポートはBtn(GPIO36)です。G
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/BUTTON/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <M5Stack.h>
|
||||
|
||||
// declaration
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/CARDKB/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <Wire.h>
|
||||
#include <M5Stack.h>
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ TCS3472には、3×4アレイのフィルタ付きフォトダイオードと16b
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/COLOR/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
/*
|
||||
Color test
|
||||
hardware: M5Stack
|
||||
|
||||
+1
-1
@@ -42,7 +42,7 @@
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/DAC/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
/*
|
||||
hardware : m5stack uint dac
|
||||
please install adafruit MCP4725 lib
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
*完全ナソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/DUAL_BUTTON/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <M5Stack.h>
|
||||
|
||||
// declaration
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/EARTH/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <M5Stack.h>
|
||||
|
||||
void setup() {
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@
|
||||
|
||||
*以下のコードは一部抜粋です。完全なコードは[こちらから](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/ENV).*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
/*
|
||||
Install Adafruit BMP280 Library first.
|
||||
*/
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
*特定のルーチンについてはここをクリックしてください[サンプルコード](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/EXTIO/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
/*
|
||||
Connect to GRVOE A on M5Core
|
||||
*/
|
||||
|
||||
@@ -55,7 +55,7 @@ UARTパラメータ: ボーレート(デフォルト: 19200bps), スタートビ
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/FINGER/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
/*
|
||||
Connect to GRVOE C on M5Core
|
||||
*/
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@
|
||||
|
||||
*完全な `GPSRaw.ino`のソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/GPS/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <M5Stack.h>
|
||||
|
||||
/* By default, GPS is connected with M5Core through UART2 */
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/HEART/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
/*
|
||||
Install MAX30100lib Library first.
|
||||
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ LEDの番号は下図の通りです。
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/HEX/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
/*
|
||||
プログラムを実行する前に、あらかじめFastLEDライブラリをインストールしてください。(HEXをGROVE Aに接続)
|
||||
*/
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ GROVEインターフェースには2つの信号ピンが存在し、1つは受
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/IR/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <M5Stack.h>
|
||||
|
||||
// 宣言
|
||||
|
||||
@@ -32,7 +32,7 @@ M5CoreとJoystickはI2Cで接続されます。I2Cアドレスは**0x52**です
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/JOYSTICK/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <M5Stack.h>
|
||||
#include "Wire.h"
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/LIGHT/Arduino)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <M5Stack.h>
|
||||
|
||||
// declaration
|
||||
|
||||
@@ -167,7 +167,7 @@
|
||||
|
||||
- **[Face recognition](https://github.com/m5stack/esp-who)** -->
|
||||
|
||||
<!-- ```arduino
|
||||
<!-- ```clike
|
||||
float tmp = dht12.readTemperature();//temperature
|
||||
float hum = dht12.readHumidity();//humidity
|
||||
float pressure = bme.readPressure();//pressure
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/Makey_NewVersion/Arduino/Makey_new_version)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <M5Stack.h>
|
||||
#include <Wire.h>
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
*完全なソースコードは[こちら](https://github.com/m5stack/M5Stack/tree/master/examples/Unit/NCIR)。*
|
||||
|
||||
```arduino
|
||||
```clike
|
||||
#include <M5Stack.h>
|
||||
#include <Wire.h>
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user