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

(説明用) Issuesは開発者向けです。技術的な更新・訂正などを、詳細とともに教えてください Issues is for the developers. #2

Open
verylowfreq opened this issue Aug 21, 2023 · 0 comments

Comments

@verylowfreq
Copy link
Owner

使い方の質問は Discussions へ! / Visit Discussions if you have any question on usage!
▶▶ https://github.com/verylowfreq/suzuduino-uno-v1/discussions ◀◀

Issuesは開発者向けです。技術的な更新・訂正・提案などを、詳細とともに教えてください。参考資料や、再現の前提条件・手順、を添付してお願いします。

Issues is for the developers. Please let me know about the technical update, correction or suggestions with details. Don't forget to attach the references, the conditions and procedure for the reproduction of the problem.


テンプレート / Template:
PCB revision: (ex: Suzuduino UNO V1a)
PC's OS: (ex: Windows 11)
Software: (ex: WCHISPStudio V3.50, Aruduino IDE 2.00, openwch/arduino_core_ch32 v1.03 )

Problem:
(ex: Cannot read PB8 as input)

Reproduction procedure:
(ex:

  1. Build the firmware with the following code
  2. Burn it
  3. Press or release the BOOT0 button.
  4. digitalRead(PB8) returnes the same value
    )

Solution:
(ex: Add the description about the limitation of GPIO)

Minimum code for reproduction of this problem:

constexpr int PIN_LED = PA5;
constexpr int PIN_BUTTON_BOOT0 = PB8;

void setup() {
  pinMode(PIN_LED, OUTPUT);
  pinMode(PIN_BUTTON_BOOT0, INPUT);
}

void loop() {
  digitalWrite(PIN_LED, digitalRead(PIN_BUTTON_BOOT0));
}

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

No branches or pull requests

1 participant