|
|
| tower (score: 0.563) |
|
|
| usb (score: 0.563) |
|
| | Re: IR problems
|
| (...) I did not explain my problem properly but you got it anyway! I do use EKEY? before EKEY, but sometimes EKEY seems to block. Thanks for taking your time to look into this. As for the new word (wow!), in Forth-79, there was a word called ?KEY (...) (21 years ago, 31-Jan-04, to lugnet.robotics.rcx.pbforth)
| |
| ir (score: 0.561) |
|
| | Re: Decoding the LEGO IR remote control
|
| (...) Do you want to connect the PIC to the IR tower to receive signals from the Lego remote control, or do you want to build your own IR receiver, and attach the PIC to that? The encoding of the IR is pretty simple. The IR tower contains a circuit (...) (25 years ago, 17-Sep-99, to lugnet.robotics.rcx)
| |
| ir, tower (score: 0.561) |
|
| | RE: IR problems
|
| (...) EKEY always waits for input. Use EKEY? to see if anything is available... Looking at the source, I see that there is a possiblity that in the time between checking for a character with EKEY? and actually reading it with EKEY, that an error can (...) (21 years ago, 30-Jan-04, to lugnet.robotics.rcx.pbforth)
| |
| ir (score: 0.561) |
|
| | Re: Listening to IR via NQC
|
| (...) If I understand you correctly, then this is more difficult than it sounds, because the IR tower shuts down after a few seconds after the PC stops transmitting. Things work fine if the PC initiates a conversation (e.g. by asking the RCX to send (...) (25 years ago, 23-Sep-99, to lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)
| |
| ir, tower (score: 0.561) |
|
| | Re: IR problems
|
| (...) Ralph, one more question. Are there conditions where the word EKEY would wait for input (like KEY)? It seems to happen in my program. Thanks (21 years ago, 29-Jan-04, to lugnet.robotics.rcx.pbforth)
| |
| ir (score: 0.561) |
|
| | Re: IR problems
|
| (...) Thanks Ralph. I'll try this. I might have followed the wrong track but I got to this 'test program' trying to solve the problem I have in my 'real' program: I'm writing a PbForth version of the Trailerbot (Luis Villa, Extreme Mindstorms). The (...) (21 years ago, 28-Jan-04, to lugnet.robotics.rcx.pbforth)
| |
| ir (score: 0.561) |
|
| | RE: IR problems
|
| Hmmm The blip and LCD clearing, while useful for debugging may be messing things up. The characters are coming in way faster than the blip time, so you may not be reading the buffer fast enough. I would put code at the end of getHeader that (...) (21 years ago, 24-Jan-04, to lugnet.robotics.rcx.pbforth)
| |
| ir (score: 0.560) |
|
|
| ir (score: 0.560) |
|
|
| ir, long (score: 0.560) |
|
| | Re: Tasks vs. program slots
|
| (...) They are one and the same. When transmitting, the IR tower just uses the RS-232 TXD line to switch on the 38kHz carrier. It also has some timing circuitry to keep it alive, and an Rx side, but the Tx is painfully simple. You'll probably see (...) (25 years ago, 18-Sep-99, to lugnet.robotics.rcx.nqc)
| |
| ir, tower (score: 0.559) |
|
| | Re: write files
|
| (...) If you just want to transfer the datalog and put it in a text file you can use the nqc command: nqc -datalog This will upload the datalog and print it to stdout. Use your shell I/O redirection to put it in a file... nqc -datalog >my.log (...) (21 years ago, 1-Oct-03, to lugnet.robotics.rcx.nqc)
| |
| usb (score: 0.559) |
|
|
| ir (score: 0.559) |
|
| | Re: brickOS & Cygwin with BricxCC
|
| (...) Its true, Before John "fixed" the older OS issues, I was at my whit's end and was prepared to do damage to myself with a fork -- after unsuccessfully trying to install BrickOS.... but now, thanks to John and Bricxcc my cutlery is safely (...) (21 years ago, 22-Jan-04, to lugnet.robotics.rcx.legos)
| |
| ir (score: 0.559) |
|
| | PIC-RCX half-duplex IR receive and transmit
|
| I just finished a PIC16F84A application which receives IR commands from the RCX or RCX remote control, saves them and transmits another command back again. You can put your own command(s) in EEPROM for transmission. The firmware is commented (well, (...) (21 years ago, 16-Jan-04, to lugnet.robotics.rcx)
| |
| ir (score: 0.559) |
|
|
| ir (score: 0.558) |
|
| | Re: WORDLIST
|
| (...) Lucky you! We had just some cm's and its all melting away today:( Ok, here's a new version of SEE, WORDS and friends for pbforth 2.x (tested on 2.1.5). First there are some words (Graphic? ... Head) which actually exist in pbforth, but without (...) (21 years ago, 31-Jan-04, to lugnet.robotics.rcx.pbforth)
| |
| range (score: 0.558) |
|
|
| long, tower (score: 0.558) |
|
| | sensor questions plus
|
| You said to keep asking questions. I'm taking you at your word. Questions I've got. o - Sensor questions: Could you explain how the sensor code works? How does it interact with the ROM. Is this (ROM stuff) documented elsewhere? What does SENSOR_READ (...) (24 years ago, 3-May-00, to lugnet.robotics.rcx.pbforth)
| |
| ir, long (score: 0.558) |