Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sqlite logging #6

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

matt-garman
Copy link

This builds on the previous PR. With the USB-related functionality broken out into a separate module, I created two new programs: (1) "pcsensor_sqlite" which will periodically log temps to an sqlite3 database, and (2) "templog" which provides simple ways of querying the sqlite3 temperature database, along with simple statistics (max/min/avg/median/stddev).

basically just main().  Added sensorapi.[ch] which abstracts all the
USB access into a simple API.  pcsensor.c modified to use the new
API.
…lite3 database

- add program templog, which can be used to view temp data logged to an sqlite3 database using pcsensor_sqlite (also can compute basic stats)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant