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 / 4935
4934  |  4936
Subject: 
How to get digital outputs from the handyboard?????????????
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Thu, 10 Dec 1998 17:17:14 GMT
Original-From: 
Michael Toh <leahcim@pacificNOMORESPAM.net.sg>
Viewed: 
1027 times
  
hi everyone, i have been trying for the past few days to get digital outputs
from the board but with no success. i have been trying to get digitals
outputs from the  SPI's pins (J6). i have poke to make the port as output
port. but the problem now is how to config the 4 bits. what is the location
and the mask bit to do a bit_set/clear. pls help as my deadline for my
project is 1 and 1/2 weeks from now.

thanks for the help in advance!

Michael



Message has 1 Reply:
  Re: How to get digital outputs from the handyboard???...???
 
(...) First, to enable the four SPI pins D2 through D5 as digital outputs, make sure you do a bit_set( 0x1009, 0x3C ). (In the sonar.c program, for example, bit_set( 0x1009, 0x30 ) seems to only enable two of the pins--not all four). I think poke (...) (26 years ago, 11-Dec-98, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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