Dracal // SDK code sample for C (POSIX) on CLI
Running this repository requires you to have installed:
- GCC (version >= 9.4.0)
- Make (version >= 4.2.1)
- DracalView (version >=
3.2.x
)- Specifically,
dracal-usb-get
needs to be accessible from yourPATH
environment variable (more info in the documentation how-to).
- Specifically,
Script may need to be adjusted depending on your instrument's # of outputs (currently assumed: 3 outputs). See script comments for details.
Build
make
Run
./main
↑253 dracal/sample-c-cli git:(main) ▶ ./main
Pressure. (kPa): 102.84
Temperature (C): 22.02
RH......... (%): 52.83
Temperature (F): 71.64
Ξ dracal/sample-c-cli git:(main) ▶