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 / 2971
    bit_set and Poke —Bill Coghill
   Could someone xplain the relationship that bit_set, bit_clear and poke / poke word have ? Specificallt in the bit_set code used for the motor control, 0x0e is placed before the bit values - why ? I geuess this is used to select the motor port, but (...) (27 years ago, 12-Nov-97, to lugnet.robotics.handyboard)
   
        Re: bit_set and Poke —MAR ERICSON
   bit_set in english is "for the byte at this adress, make these bits high". The first argument is the address (i.e. 0x0e). The second argument is the mask which indicates which bits to make high. bit_clear in english is "for the byte at this address, (...) (27 years ago, 12-Nov-97, to lugnet.robotics.handyboard)
 

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