Jeff

by

A fine way to compactly control multiple Arduino digital output pins is to use a byte in conjunction with a bitmap. The byte provides the structure (eight bits) to compactly specify which digital pins are turned on and which are turned off. Let’s consider an example. Suppose you have eight digital output pins to control,

by

Although it creates bulky AVI files, MATLAB can relatively easily make movies of animated figures. The code below prototypes how this is done. % define the number of frames in your movie numberOfFrames = 1200; % use a loop to generate frames of the movie for ii = 1:numberOfFrames % insert code to update data