To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Search Results: EVENT_MASK
 Results 41 – 60 of about 800.
Search took 0.00 CPU seconds. 

Messages:  Full | Brief | Compact
Sort:  Prefer Newer | Prefer Older | Best Match

  Re: Rotating through a four-bit nibble
 
(...) What are you optimizing for? Code clarity? Code speed? Code length? There are (to my knowledge) no truly pretty solutions to this. I would tend to go with: int rotbits(int input, int numbits, int offset, int rotdist) { int mask = (~((~0) << (...) (19 years ago, 20-Sep-05, to lugnet.robotics)
 

mask
(score: 1.874)

  Question on Kent Farnsworth's IR routine?
 
On the Handyboard software archive, Kent has the following port definitions in the file HB2_EQ.ASM: * equates for Sharp IR sensors -- start at port 4 IR_MASK_ZERO EQU %00000100 IR_ADDR_ZERO EQU $1000 /* port A */ IR_MASK_ONE EQU %00100000 (...) (27 years ago, 26-Apr-97, to lugnet.robotics.handyboard)
 

mask
(score: 1.874)

  Re: Green mask
 
please see (URL) all there in the zip files, including the solder mask (green) layer. f. In your message you said: (...) (26 years ago, 29-Jan-99, to lugnet.robotics.handyboard)
 

mask
(score: 1.873)

  GP2D02 Interface Question?
 
Attached below is IC code for a GP2D02 rangefinder. This is a slightly enhanced version of code from Bjorn Astrand. My question relates to the use of TMSK1 in the code. From reading various M69HC11 documents, I think (???) that I know what bits are (...) (26 years ago, 13-Jan-99, to lugnet.robotics.handyboard)
 

mask
(score: 1.872)

  lnpd patch
 
I someone currently maintaining the lnpd code ? In the case someone does: I do propose a patch for stub.c in liblnp. Because when ublock_rcv() gets executed in lnp_logical_write the SIGIO signal becomes unblocked when executing a lnp_logical_write (...) (22 years ago, 25-Mar-03, to lugnet.robotics.rcx.legos)
 

mask
(score: 1.871)

  Re: I2C interface
 
Hi Bastiaan, BrickOS only updates the motor register once every millisecond, so when using functions like motor_a_dir(), the highest frequency you can generate is 500 Hz. You can get around this by patching the kernel, or if that seems disagreeable, (...) (21 years ago, 12-May-03, to lugnet.robotics)
 

mask
(score: 1.870)

  Sensor Assembly Problem
 
Hi, I'm using the handyboard for a robotics competition, and I have been having a problem when I use my compass and sonar together. I am using a Daventech SRF04 ultrasonic ranger, and a Daventech compass. Here is the problem: I can read the sonar (...) (22 years ago, 4-Apr-03, to lugnet.robotics.handyboard)
 

mask
(score: 1.870)

  lnp rcx hostaddress
 
I have an important question: WHY the rcx lnp address (and mask) is hardcoded in the library? I inspected the source code for both the pc part and the rcx part. The pc library is well formed and the init function allows you to set up the address and (...) (23 years ago, 27-May-01, to lugnet.robotics.rcx.legos)
 

mask
(score: 1.869)

  Re: VC use with Macintosh?
 
VC and Mac: Don't know! I'm using Windows ME (I hope some answers will pop up here...) VC and Mindstorms: The RCX communicates with the camera thru the IR-tower in this way: The camera is programmed in the VC-application on the PC - your choose a (...) (24 years ago, 16-Oct-00, to lugnet.robotics.vc)
 

mask
(score: 1.869)

  speed control bytes
 
i understand that when the PWM is off, the mask: 0b11111111 switches all motor ports on in the forward direction. but if the PWM is on, what bit string correspond to what speed? is it possible to have motor ports 0 and 1 controlled using PWM while (...) (25 years ago, 21-Dec-99, to lugnet.robotics.handyboard)
 

mask
(score: 1.869)

  (no subject)
 
(...) I found this entry in the HC11 handbook, page 10-14. It may help.. "The most common way of clearing a status flag bit in the timer flag registers is to load an accumulator with a mask that has a one in the bit(s) corresponding to the flag(s) (...) (28 years ago, 28-Jun-96, to lugnet.robotics.handyboard)
 

mask
(score: 1.869)

  Quad encoders = the code
 
I have been successful in coding the Quad encoders. You will find below: - The source for the asm file - The source for the C file - the ICB file Thanks to the assembler on the web. I tried to use some of the Macintosh tools from the 68hc11 MIT FTP. (...) (29 years ago, 12-Feb-96, to lugnet.robotics.handyboard)
 

mask
(score: 1.869)

  Re: Re[2]: Mindstorms NXT programming languages
 
(...) Yes, I suspect the same. The ROM mask *is* the custom part of the chip that LEGO can easily define without big expenditures. I noticed that the atmel chip also has a boot ROM that is separate from the flash. If they use that chip we might (...) (19 years ago, 15-Jan-06, to lugnet.robotics)
 

mask
(score: 1.869)

  Re: what is poke and peek command
 
(...) <snip> The poke command writes a byte (eight bits) into memory. The peek command reads a byte from memory. The bit_set command turns on the specified bits of a byte in memory, but leaves the other bits unaffected. An integer constant that (...) (26 years ago, 7-Aug-98, to lugnet.robotics.handyboard)
 

mask
(score: 1.869)

  Re: I2C interface
 
Hi, Change the declaration for set_motor to: extern "C" void set_motor(unsigned char mask, unsigned char value); and you should be fine. And, yes, it's H8 asm code. Probably could have written it in C, but I tend to prefer asm for low-level type (...) (21 years ago, 13-May-03, to lugnet.robotics)
 

mask
(score: 1.869)

  Re: Digit outputs....
 
Rather than trying to figure out the hex for the bits, I use the IC binaray number format, "0b". I set the bits using a binary mask, for example, to set the MOSI pin high, I use: bit_set(0x1008, 0b00001000) then to set the MOSI pin low, I use: (...) (28 years ago, 20-Feb-97, to lugnet.robotics.handyboard)
 

mask
(score: 1.869)

  Re: bit_set and Poke
 
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)
 

mask
(score: 1.869)

  Re: leJOS & LDCC IRP
 
(...) Yes, this is right, to be friendly to as many implementations of the Lego IR protocol as possible, receiving programs should just mask off bit 3. (...) While the code is there to discern packets with different addresses, I haven't yet added (...) (21 years ago, 12-Sep-03, to lugnet.robotics.rcx.java, lugnet.trains)
 

mask
(score: 1.868)

  Re: table brickos light to percent
 
(...) Hi Thomas, Here's the formula used in the dsensor.h include file: #define ds_scale(x) ((unsigned int)(x)>>6) //!< mask off bottom 6 bits #define LIGHT(a) (147 - ds_scale(a)/7) //!< map light sensor to 0..LIGHT_MAX This maps the raw sensor (...) (20 years ago, 27-May-04, to lugnet.robotics.rcx.legos)
 

mask
(score: 1.868)

  Re: System Interrupts & frequency counting
 
(...) I'm unfamiliar with the workings of IC, but if your interrupt service routine is sufficiently short, and you don't reset the interrupt mask to enable recursive interrupts, you shouldn't notice the difference. You asked if there was a more (...) (27 years ago, 9-Jun-97, to lugnet.robotics.handyboard)
 

mask
(score: 1.868)

More:  Next Page >>


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