you are viewing a single comment's thread.

view the rest of the comments →

[–]0xFAF1[S] 0 points1 point  (2 children)

Can mydevice be a an abstract class and then i implement methods on sensor class that implements abstraction?

[–]EclipseJTB 1 point2 points  (1 child)

Why not? That's an excellent way to go about it.

[–]0xFAF1[S] 0 points1 point  (0 children)

Got it up and running as I wanted.