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 / 2084
  Problem in program
 
Greetings everyone! I'm working on a navigation program that has a funny quirk in it. I'm hoping one of you IC pros can explain my error. As far as reading the info from the sensors (RS 40 Khz IR module) and activating the motor ports, it works (...) (27 years ago, 1-May-97, to lugnet.robotics.handyboard)
 
  digital output
 
Has anyone used any external devices with the HandyBoard that require a digital output from the microprocessor, such as pin PA6 or PA7? Currently there is an IR transmitter on PA6, and we want to use such an output to open/close a gripper of a robot (...) (27 years ago, 2-May-97, to lugnet.robotics.handyboard)
 
  Re: digital output
 
(...) You might try using PortD (the header poking out of the lower right side of the LCD) /* set DDRC */ poke(0x1009,0x3c); #define PD2 0b000...000100 /* aka MISO */ #define PD3 0b000...0001000 /* MOSI */ #define PD4 0b000...00010000 /* SCK */ (...) (27 years ago, 2-May-97, to lugnet.robotics.handyboard)
 
  Re: Problem in program
 
(...) Terry, Try putting a sleep(.1); statement after the printf statements the board may be working to fast to read the LCD. Terry Gathright 669@worldnet.att.net (27 years ago, 2-May-97, to lugnet.robotics.handyboard)

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