Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xiaogyan_examplesでerror: 'D10' was not declared in this scope #33

Closed
matsujirushi opened this issue Mar 16, 2023 · 2 comments
Closed
Labels

Comments

@matsujirushi
Copy link
Contributor

元記事

とりま、実績のありそうな XIAO ESP32C3 でハードが問題無いかだけ動かしてみようかなと、
コンパイルかけてみるとなんか D10 が無いとか?のピン定義でそんなエラーを見たことないのでちょっとよくわかりませんが…

image

@matsujirushi
Copy link
Contributor Author

ボードの選択が間違っているように見えます。
XIAO_ESP32C3を選んで、再度確認願います。

image

参考リンク

@TakSan0
Copy link

TakSan0 commented Mar 16, 2023

確かにボード設定ミスっていますね。
ちゃんとソースを元の状態に戻して、正しいボード設定ではコンパイル通ることが確認できました。
すみません、"参考リンク"に記載いただいた手順、ちゃんと見るべきでした。
ありがとうございます。

おかげで ESP32C3 版では、どのような動きになるかは確認できました。
一通り、マトリックスの動作、スピーカーからのTone再生、ボタン2つ組み合わせで3種類の音程が出る事、ジョグダイヤルで点滅速度が変わること、ジョグダイヤル内の LED が光る事が全て確認できました。
ありがとうございます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants