Skip to content

Commit 57b9926

Browse files
committed
Create Config files
1 parent 7761f25 commit 57b9926

File tree

4 files changed

+57
-0
lines changed

4 files changed

+57
-0
lines changed

data/yaml/SC_BasicConfig.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
servo:
2+
pin:
3+
# ServoPin
4+
# Core1 PortA X:22,Y:21 PortC X:16,Y:17
5+
# Core2 PortA X:33,Y:32 PortC X:13,Y:14
6+
# Stack-chanPCB Core1 X:5,Y:2 Core2 X:19,Y27
7+
# When using SCS0009, x:RX, y:TX (not used).(StackchanRT Version:Core1 x16,y17, Core2: x13,y14)
8+
x: 17
9+
y: 18
10+
offset:
11+
# Specified by +- from 90 degree during servo initialization
12+
x: 0
13+
y: 0
14+
speed:
15+
normal_mode:
16+
interval_min: 3000
17+
interval_max: 6000
18+
move_min: 500
19+
move_max: 1500
20+
sing_mode:
21+
interval_min: 500
22+
interval_max: 1000
23+
move_min: 500
24+
move_max: 1000
25+
bluetooth:
26+
device_name: "M5StackBTSPK"
27+
starting_state: false
28+
start_volume: 100
29+
auto_power_off_time: 0 # Core2 Only. time(msec) of auto power off(0 is disable.)
30+
balloon:
31+
font_language: "CN" # "JA or CN or Default"
32+
lyrics: # A maximum of 10 can be specified.
33+
- "こんにちは"
34+
- "Hello"
35+
- "Bonjour"
36+
- "你好"
37+
- "私はスタックチャン"
38+
- "我是Stack-chan"
39+
- "I'm Stack-chan"
40+
- "Je suis Stack-chan"
41+
led_lr: 0 # 0:stereo, 1:left_only, 2:right_only
42+
led_pin: 15 # GoBottom1:15 GoBottom2:25
43+
takao_base: false # Whether to use takaobase to feed power from the rear connector.(Stack-chan_Takao_Base https://ssci.to/8905)
44+
servo_type: "PWM" # "PWM": SG90PWMServo, "SCS": Feetech SCS0009
45+
extend_config_filename: "/yaml/SC_ExConfig.yaml" # Configuration file for the application.
46+
extend_config_filesize: 2048 # Buffer size for feature extensions
47+
secret_config_filename: "/yaml/SC_SecConfig.yaml" # Configuration file for the File for personal information.
48+
secret_config_filesize: 2048 # Buffer size for personal information.

data/yaml/SC_ExtConfig.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# アプリケーションで利用する設定を書きます。
2+
role:

data/yaml/SC_ExterndConfig.yaml

Whitespace-only changes.

data/yaml/SC_SecConfig.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
wifi:
2+
ssid: "YOUR_WIFI_SSID"
3+
password: "YOUR_WIFI_PASSWORD"
4+
apikey:
5+
stt: "YOUR_APIKEY" # ApiKey of SpeechToText Service
6+
aiservice: "YOUR_APIKEY" # ApiKey of AIService
7+
tts: "YOUR_APIKEY" # ApiKey of TextToSpeech Service

0 commit comments

Comments
 (0)