NVM and DAC

Forum for problems or queries regarding other Flowcode Components. Eg LEDs, Switches, LCD, Gfx LCD etc

Moderators: Benj, Mods

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: NVM and DAC

Post by Benj »

Hello Ondra

I would look into Finite State Machine design. This should help you to design an effiecient program depending on received values. Also try to keep timeouts to a minimum. Eg if no data is available then do not wait for it. Maybe you could also add an interrupt for the hardware reception. This way your software can always be moitoring the bit banged input and as soon as a byte is received on the UART an interrupt is triggered with processes that byte.

Ondra
Posts: 325
Joined: Wed Aug 29, 2007 7:33 pm
Been thanked: 2 times
Contact:

Re: NVM and DAC

Post by Ondra »

Thanks Benj. It looks a bit much for me right now. I'll work with what I have until I get pressed.
You've been a big help, thanks for your time and patients on this one.

Ondra

Post Reply