Full Duplex Use from lower object file
Ok....so I have a daughter object·initializing the full duplex object and it sends information through the serial communication.
Can my top object file use the recieve end of the full duplex? I know not to reinitialize it.....but I want to make sure I can use the object without causing problems with my lower object.
I don't see a reason this would cause problems.....but I thought I would check first.
James L
Can my top object file use the recieve end of the full duplex? I know not to reinitialize it.....but I want to make sure I can use the object without causing problems with my lower object.
I don't see a reason this would cause problems.....but I thought I would check first.
James L
Comments
Either change the vars to dat (which works reasonably well if you know how to do it), or add methods to your middle class that
proxy access to the serial port, or else use the Singleton object I posted earlier (search.parallax.com -> Singleton).
Thanks for the reply.....I figured there would be a glitch somewhere....that is why it is great to have knowledgeable people around here.
James L