You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Option 1: We could add the second address in the EmotiBit_NCP class
by changing being to have a version input, .begin(*TwoWire, enum EmotiBItVersion), we can pass hte version from emotibit class on sensor init and set the correct address.
Option 2: We could create a new class LedController that stores this metadata. This class can have wrapper functions for all NCP deriver member_functions.
If we are using a LedController class, should it initialize hw settings based on version sent by emotibit class?
Option 1: the LedController class can have the if() block on the emotibit version. But then, this controller class must be aware of the versionController class.
Option 2: If we don't want to create version based if blocks, then the hw information must come from the NVM. We would have to (1)change how the information is written on the NVM, (2)store sensor hw details and (3)grant the controller NVM access.
Describe the feature
The text was updated successfully, but these errors were encountered: