Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
- all.hppを更新
- ヘッダーファイルのコメントを修正
  • Loading branch information
H1rono committed Jul 13, 2022
1 parent 70bc934 commit c334164
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/ssr/AnalogOut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AnalogOut {

/**
* 値を出力する
* @param uint16_t value 出力値
* @param uint16_t value 出力値。範囲は0~255
*/
void setValue(uint16_t value);

Expand Down
2 changes: 1 addition & 1 deletion include/ssr/DigitalOut.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class DigitalOut {

/**
* 値を設定する
* @param bool value 設定する値
* @param bool value 設定する値。trueでHIGH, falseでLOW
*/
void setValue(bool value);

Expand Down
9 changes: 9 additions & 0 deletions include/ssr/all.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,17 @@
// このライブラリが使う名前空間
namespace ssr {}

// 基底型たち
#include "ssr/Types.hpp"
// デジタルinputのピン型
#include "ssr/DigitalIn.hpp"
// デジタルoutputのピン型
#include "ssr/DigitalOut.hpp"
// アナログinputのピン型
#include "ssr/AnalogIn.hpp"
// アナログoutputのピン型
#include "ssr/AnalogOut.hpp"
// モータードライバのハンドラ型
#include "ssr/MotorDriver.hpp"

#endif /* SSR_ALL_HPP */

0 comments on commit c334164

Please sign in to comment.