-
Notifications
You must be signed in to change notification settings - Fork 4
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
Part of #22: Create ADS1115 skeleton class #40
base: master
Are you sure you want to change the base?
Conversation
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.
Looks good! A minor thing to respect some recent interface changes made. Fixing the merge conflicts will also, likely, fix these.
|
||
int spartan::ADS1115::powerOff() { return 0; } | ||
|
||
int spartan::ADS1115::poll(MasterDataPacket &dp) { return 0; } |
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.
This should be renamed to pollData
, as this is the new interface for the Sensor
abstract base class. See #48 for details.
|
||
virtual int powerOn(); | ||
virtual int powerOff(); | ||
virtual int poll(MasterDataPacket &dp); |
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.
See previous comment^ (rename to pollData
).
Overview