Hello,
I have created a UI that is waiting for some data to be received from my RF receiver. When it sees that it updates the UI. Currently I am using the Observer design pattern but the problem is that I wanted to keep all the UI stuff separate from the HW stuff. The observer pattern forces me to create an object of UIScreen class in my HW code. So, now the HW is too linked to the UI. Is there a better way of doing this?
Thanks.