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
classDiagram
class Weight {
-IWeight& weightSensor
+int32_t getWeight()
}
Loading
Requirements
Create lib/Weight/Weight.hpp and lib/Weight/Weight.cpp with Weight class
Weight class should take and IWeight& weightSensor as parameters for the constructor. It is IWeight& so we can pass either the mock weight sensor or the hardware weight sensor and both will still function
This class may require future refactoring
The text was updated successfully, but these errors were encountered:
Description
Create
Weight
class that will call the weight sensor and returns the weightDepends on #11
Requirements
lib/Weight/Weight.hpp
andlib/Weight/Weight.cpp
withWeight
classWeight
class should take andIWeight& weightSensor
as parameters for the constructor. It isIWeight&
so we can pass either the mock weight sensor or the hardware weight sensor and both will still functionThis class may require future refactoring
The text was updated successfully, but these errors were encountered: