-
Notifications
You must be signed in to change notification settings - Fork 10
Add support for data logging #36
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
Conversation
✅ Deploy Preview for distracted-dubinsky-fd8a42 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
src/jshal.js
Outdated
}, | ||
|
||
mp_js_hal_log_set_mirroring: function (serial) { | ||
board.dataLogging.delete(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope. 26e9c8b
.
value: string | number; | ||
} | ||
|
||
export class DataLoggingSensor extends Sensor { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly to radio, I'm unsure whether this fits the sensor model. Let's see how radio works out first.
}, | ||
|
||
mp_js_hal_log_set_timestamp: function (period) { | ||
board.dataLogging.setTimestamp(period); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be some kind of conversion here?
Reworked into #41 after the API change. Closing. |
No description provided.