-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsinTable.h
More file actions
29 lines (21 loc) · 1.33 KB
/
sinTable.h
File metadata and controls
29 lines (21 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/********************************************************************/
/* Description: sin関数のテーブル配列 */
/* File: sinTable.h */
/* Date: 2024/10/08 */
/* Author: Takashi YOSHIOKA */
/********************************************************************/
/********************************************************************/
/* 多重インクルード防止 */
/********************************************************************/
#ifndef _SINTABLE_H_
#define _SINTABLE_H_
/********************************************************************/
/* ヘッダファイルのインクルード */
/********************************************************************/
#include <Arduino.h>
/********************************************************************/
/* マクロ定義 */
/********************************************************************/
#define NUM_SINTBL (2000) // sinターブル配列の個数
#define THETA_PIDIV2 (NUM_SINTBL/4) // pi/2相当のインデックスオフセット
#endif /* END _SINTABLE_H_ */