Skip to content

Commit a2cbd4e

Browse files
committed
change header filename to match library name(GG.h)
1 parent 8dc91dc commit a2cbd4e

File tree

11 files changed

+15
-19
lines changed

11 files changed

+15
-19
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ All functions do not use the heap.
7070

7171
|Functions / Variables|specification|
7272
|--|---|
73-
|***GG_for_Arduino.h***||
73+
|***GG.h***||
7474
|int gg_start(const char \*title)|Start processing GG for Arduino|
7575
|long gg_con_baud|baud rate. Set before gg_start() if necessary|
7676
|int gg_tp_start(int tp1_no, int tp2_no)|TP function start (output pin initialization and command registration)|

README_J.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ https://user-images.githubusercontent.com/11693904/174482312-17b5dc9a-c0d9-4d6a-
5353
TP(テストポイント)機能を使ってプログラムのタイミング分析ができます。
5454
サブルーチンの処理時間を測定することができます。また割込み処理やRTOSのタスク処理の状況確認にも使えます。
5555

56-
まず、分析するプログラムポイントにステータス番号コントロール(GG_TP_ON / GG_TP_OFF)を埋め込みます。 次に、tpコマンドを使用して、TP1またはTP2に出力するステータス番号を選択します。 ステータス番号はいつでもtpコマンドで切り替えることができます
56+
まず、分析するプログラムポイントに状態番号コントロール(GG_TP_ON / GG_TP_OFF)を埋め込みます。 次に、tpコマンドを使用して、TP1またはTP2に出力する状態番号を選択します。 状態番号はいつでもtpコマンドで切り替えることができます
5757

5858
状態番号はいくつでも配置できますが、物理的な出力先はTP1とTP2の2つだけです。 Arduinoのピン数が制限されていることと、出力チェックは出力先が増えるだけCPU負荷が増加することから、出力先が2つに限定されています。
5959

@@ -69,17 +69,13 @@ https://user-images.githubusercontent.com/11693904/174753954-4fe72062-f222-4848-
6969

7070
|関数 / 変数|仕様|
7171
|--|---|
72-
|***GG_for_Arduino.h***||
72+
|***GG.h***||
7373
|int gg_start(const char \*title)|GG for Arduino の開始|
7474
|long gg_con_baud|ボーレート. 115200から変更するならgg_start()の前にセット|
7575
|int gg_tp_start(int tp1_no, int tp2_no)|TP機能スタート(出力ピン初期化とコマンド登録)|
7676
|GG_TP_ON(number)|TP状態番号をON|
7777
|GG_TP_OFF(number)|TP状態番号をOFF|
7878
|***gg_uty.h***||
79-
|int gg_GetC(void)|1 character input (-1 = no input)|
80-
|int gg_PutC(int c)|1 character output|
81-
|int gg_PutS(const char \*s)|String output|
82-
|***gg_uty.h***||
8379
|int gg_GetC(void)|1文字入力 (-1 = 入力なし)|
8480
|int gg_PutC(int c)|1文字出力|
8581
|int gg_PutS(const char \*s)|文字列出力|

examples/GG_console/GG_console.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <GG_for_Arduino.h>
1+
#include <GG.h>
22

33
/*
44
GG for Arduino ** Simple console demo

examples/GG_console_cmd/GG_console_cmd.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <GG_for_Arduino.h>
1+
#include <GG.h>
22

33
/*
44
GG for Arduino ** Example of adding a console command

examples/GG_printf/GG_printf.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <GG_for_Arduino.h>
1+
#include <GG.h>
22

33
/*
44
GG for Arduino ** Printf() demo

examples/GG_tp/GG_tp.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <GG_for_Arduino.h>
1+
#include <GG.h>
22

33
/*
44
GG for Arduino ** Example of using TP function

keywords.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ GGT_CON KEYWORD1
2020
# Methods and Functions (KEYWORD2)
2121
#######################################
2222

23-
# GG_for_Arduino.h
23+
# GG.h
2424
gg_init KEYWORD2
2525
gg_tp1_no KEYWORD2
2626
gg_tp2_no KEYWORD2

library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=GG
2-
version=1.1.0
2+
version=1.2.0
33
author=Masao Koga <[email protected]>
44
maintainer=Masao Koga <[email protected]>
55
sentence=GG for Arduino is a serial console library.
@@ -8,4 +8,4 @@ category=Communication
88
url=https://github.com/mkogax/GG_for_Arduino
99
architectures=*
1010
license=MIT
11-
includes=GG_for_Arduino.h
11+
includes=GG.h

src/GG_for_Arduino.h renamed to src/GG.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
2-
GG_for_Arduino.h Arduino用GGツール(ヘッダファイル)
2+
GG.h Arduino用GGツール(ヘッダファイル)
33
44
2022.04.30 M.Kogan 初版開発開始
55
66
*/
77

8-
#ifndef __GG_FOR_ARDUINO_H__
9-
#define __GG_FOR_ARDUINO_H__
8+
#ifndef __GG_H__
9+
#define __GG_H__
1010

1111
#include "ggbase.h"
1212

@@ -62,4 +62,4 @@ extern int gg_tp2_no; // TP2出力ピン番号(-1=なし)
6262
int gg_tp_start(int tp1_no, int tp2_no); // TP機能スタート(出力ピン初期化とコマンド登録)
6363

6464

65-
#endif // __GG_FOR_ARDUINO_H__
65+
#endif // __GG_H__

src/GG_for_Arduino.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
*/
77

8-
#include "GG_for_Arduino.h"
8+
#include "GG.h"
99
#include "Arduino.h"
1010

1111
int gg_DI_count; // 割込み禁止ネスト数(0=割込み許可中)

0 commit comments

Comments
 (0)