Example program for EVAL-ADMX2001
Dependencies: ADMX2001
Diff: measure.cpp
- Revision:
- 9:29db35656fcb
- Parent:
- 8:bd0b93e35392
- Child:
- 10:186e097fb1e3
--- a/measure.cpp Wed Oct 27 21:18:12 2021 +0000 +++ b/measure.cpp Tue Nov 02 10:14:25 2021 +0000 @@ -44,10 +44,15 @@ #include <stdio.h> #include <stdlib.h> +/*============= D A T A T Y P E S =============*/ + /** maximum length for buffer for string operation */ #define MAX_DISPLAY_LENGTH 256 /** maximum length for buffer for storing measurement values */ #define MAX_MEASUREMENT_BUFFER 512 + +/*============= D A T A =============*/ + /** buffer for string operation */ char displayString[MAX_DISPLAY_LENGTH]; /** Array to store measurement values*/ @@ -137,9 +142,6 @@ addr = 0; data = 0; - // set Ig = 0? - // set count to 1?/3? - cmdId = CMD_Z; status = Admx200xSendCmd(pAdmx200x, &cmdId, &addr, &data, &statReg);