This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
docs:blox:examples-logging [2024/08/26 12:35] admin |
docs:blox:examples-logging [2024/08/26 12:36] (current) admin |
||
---|---|---|---|
Line 7: | Line 7: | ||
===== 6.4.4.1 Logging to USB/Serial ===== | ===== 6.4.4.1 Logging to USB/Serial ===== | ||
- | You can log sensor values to the USB / Serial (for example to view sensor values in the Logs view) \\ | + | You can log sensor values to the USB / Serial (for example to view sensor values in the Logs view)\\ |
\\ | \\ | ||
TIP You can preface sensor log entry with a message to help make your logging easier to read | TIP You can preface sensor log entry with a message to help make your logging easier to read | ||
- | {{docs: | + | {{:docs: |
---- | ---- | ||
Line 17: | Line 17: | ||
===== 6.4.4.2 Logging to SD Card ===== | ===== 6.4.4.2 Logging to SD Card ===== | ||
- | You can log sensor data to an SD Card. \\ | + | You can log sensor data to an SD Card.\\ |
\\ | \\ | ||
TIP: If you add Wifi and NTP the logged entry with show real world time stamps. If you don't have Wifi/NTP it will show the number of seconds since the firmware was booted up as a fallback without valid time. | TIP: If you add Wifi and NTP the logged entry with show real world time stamps. If you don't have Wifi/NTP it will show the number of seconds since the firmware was booted up as a fallback without valid time. | ||
- | {{docs: | + | In this example we've set it up with a check to see if the SD Card is available, and then schedule it to log the sensor value every 5 seconds. \\ |
+ | \\ | ||
+ | You can use this for offline sensor analysis, graphing of values over time etc. | ||
+ | |||
+ | {{:docs: | ||