On Sat, 2010-11-06 at 11:49 -0700, Kirk Wallace wrote: > I am starting to think about how to put an eight bit word on a parallel > port. My first guess is to load Parport, then write a component that > shifts an unsigned variable a bit at a time to each parport pin, but I > wonder if there is a cleaner way to write the whole (8bit) word to, lets > say, pins 2-9? This will be used with a strobe component to latch data > to an AVR port.
It turns out this is pretty trivial: http://www.wallacecompany.com/machine_shop/EMC2/AVR/conv_u32_8bits.comp -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users