Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Stepper class processor utilisation improvements

オープン
#5 コメント 6 件 リアクション 0 件 担当者 1 名 GitHub で見る

@mipidisaster がすでに取り組んでいます。

2021年8月12日 から。

評価

この issue はまだ評価されていません。

説明

enhancement

At version 0.1.1, the design of the stepper class makes use of two interupts, one which is a "controller" interrupt; the TIMER overflow interrupt, and the other interrupt is used to count the number of pulses, the TIMER Compare interrupt.
Both of these interrupts will be triggered for each STEP pulse generated, which essentially doubles the utilisation of the CPU, which can get quite a lot with faster pulses.

The aim of this issue is to reduce the interrupt utilisation, such that either:
a) Only the counter interrupt is needed, with the overflow called when a change is needed (i.e. new speed, or position achieved)
or
b) Only one interrupt is required, which handles everything

主要言語
C++
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mipidisaster/miLibrary のほかの issue

mipidisaster/miLibrary の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。