To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 1829
  Re: Digital Outputs
 
(...) Adam, Have you thought about using a some of the Motor Chip driver digital output lines(if you don't need two motor driver chips)? If you pull one of the L293 chips you can free up 4 digital output lines very easily. It would, of course, (...) (27 years ago, 31-Mar-97, to lugnet.robotics.handyboard)
 
  Re: Digital Outputs
 
Gordon, The steps on how to turn the SPI into 4 digital outputs are in the HB FAQ - off the top of my head I think it goes something like this.... poke (0x1009, 0x3c); /* set the 4 DDR bits for SPI (reg D) */ bit_set(0x1008, 0b00000100); /* set MISO (...) (27 years ago, 1-Apr-97, to lugnet.robotics.handyboard)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR