CarletonURocketry / fetcher

A QNX process for fetching data from sensors over I2C.
https://carletonurocketry.github.io/fetcher/
GNU General Public License v3.0
1 stars 0 forks source link

Be able to write data to any output stream #23

Closed linguini1 closed 3 months ago

linguini1 commented 3 months ago

Currently fetcher is configured to write only to stdout. It should be possible to pass a command line option to have fetcher write its output to any stream (such as a file or pipe).

Command would look like:

fetcher -o <output_stream>

This will require the modification of how sensor data is printed (to allow writing to any stream using fprintf) as well as the parsing of command line parameters.

Finally, make sure you update fetcher.use to include the new command line option.