The idea of disabling interrupts

Nov 29, 2007 22 Replies

-----

For the OP: if figuring out a clever way to mux your LEDs is the point of the project, continue as you are. If the point is to program a system to accept input and generate output, you might consider one of the serial graphics LCD displays such as those on sale at

formatting link

Mark Borgerson

Yes, BUT while the reader is emptying the buffer, the writer is still filling it. So the system has to run on that buffer continuously until it is totally empty. Until then the condition for buffer change doesn't occur. When it does, why change buffers, when the current one is already empty?

Chuck F (cbfalconer at maineline dot net) Try the download section.

This Doublebuffering scheme to ping-pong between two receive buffers is really wonderful, That is, Receive data into Buffer A and operate on Buffer B. Then, receive on Buffer B and operate on Buffer A.

Karthik Balaguru

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required