Clone13
Dependents: SignalProcessLab DigitalSignalAlgorithm_Lab DigitalSignal_Lab
Commons.h
- Committer:
- ngtkien
- Date:
- 2019-08-28
- Revision:
- 1:fc2dc08db78b
- Parent:
- 0:ef139e18ca64
File content as of revision 1:fc2dc08db78b:
#pragma once #include "mbed.h" #ifndef M_PI #define M_PI 3.14159265358979323846 #endif #ifndef M_PI_2 #define M_PI_2 1.570796326794897 #endif #ifndef lround #define lround(var) (long)(var+0.5f) #endif /** * @brief Window rectangle structure */ typedef struct { int x1; int y1; int x2; int y2; } Window;