To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.pbforthOpen lugnet.robotics.rcx.pbforth in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / pbFORTH / *47 (-20)
  FW: Ir transmission
 
-----Original Message----- From: John Cooper [mailto:robots@jpsc.co.uk] Sent: Monday, April 19, 1999 6:07 AM To: Ralph Hempel Subject: Re: Ir transmission (...) To answer the question, I would say do it as core (quicker download). I think we agree (...) (25 years ago, 11-May-99, to lugnet.robotics.rcx.pbforth)
 
  FW: multitasker
 
-----Original Message----- From: John Cooper [mailto:robots@jpsc.co.uk] Sent: Monday, April 19, 1999 2:31 AM To: Ralph Hempel Subject: Re: multitasker (...) Excellent news. (...) You can have our SpeedBot as a demo program (as soon as I get it to (...) (25 years ago, 11-May-99, to lugnet.robotics.rcx.pbforth)
 
  FW: Ir transmission
 
-----Original Message----- From: John Cooper [mailto:robots@jpsc.co.uk] Sent: Monday, April 19, 1999 2:31 AM To: Ralph Hempel Subject: Re: Ir transmission (...) Well, I don't do realtime stuff (until now), in fact what I do (simulation) is almost (...) (25 years ago, 11-May-99, to lugnet.robotics.rcx.pbforth)
 
  FW: pbFORTH and MARKER
 
-----Original Message----- From: Ralph Hempel [mailto:rhempel@bmts.com] Sent: Thursday, April 22, 1999 12:55 PM To: John Cooper Subject: pbFORTH and MARKER John, I have discovered yet another bug in the CREATE DOES> of pbFORTH and fixed it. Now (...) (25 years ago, 11-May-99, to lugnet.robotics.rcx.pbforth)
 
  Forward of pbFORTH debug sessions
 
John Cooper and I have exchanged numerous emails on the progression of pbFORTH and he has agreed to share them with the group. I guess we should have always discussed on the group, but once I just hit Reply instead of ReplyToAll and that was the end (...) (25 years ago, 11-May-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Ir transmission
 
(...) I can't get EMIT to work, in NQC I do this: SendMessage(255); // Flash Sleep(3); ThisRaw = RAW_LIGHT; and the raw light sensor reading has big spikes for IR reflections. but: [ HEX ] FF EMIT 30 msWait RawLight LIGHT? does not, I think that (...) (25 years ago, 10-May-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Ir transmission
 
(...) Well, in the spirit of FORTH there should be no finite number, just create and destroy them on the fly as and whan you need them. I have been wandering around the internet looking and found that hForth has one already: \ hForth multitasker \ \ (...) (25 years ago, 17-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Ir transmission
 
(...) I think its around 16 Mhz for the crystal and 4 MHz for the cycle time. I think there is a msec timer buried in the OC1A handler (see Kekoa's disassembly) I agree that we want something to trigger a run flag instead of having to check the (...) (25 years ago, 16-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Ir transmission
 
(...) The bytecode interpreter does it, which is what NQC maps to (opcode 43). I'd prefer a timer (or access to a clock) with millisecond resolution rather than a delay because things will get interesting whan multitasking. What is the CPU clock (...) (25 years ago, 16-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Re: SENSOR_READ doesn't return 0
 
(...) Well, I think your progress so far is very good, I can understand the odd slip-up, it keeps us on our toes. If I get anywhere with the LCD constants for the complicated segments I'll let you know. (...) Because I am trying to reproduce (...) (25 years ago, 16-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  RE: SENSOR_READ doesn't return 0
 
(...) There are indeed many ways to skin a cat...in the end , the effect is the same, but I'm always curious to see how others do things. How many FORTH programmers does it take to screw in a light bulb? Just one, but he has to be the fellow that (...) (25 years ago, 16-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Useful constants
 
(...) I have a 4Ah lead acid battery for mine too! Remember to fuse it just in case... Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (URL) ---...--- Reply to: rhempel at bmts dot com ---...--- (25 years ago, 16-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Re: SENSOR_READ doesn't return 0
 
Actually, whils I am re-coding things, is there any reason why you didn't do DELAY like this? : DELAY ( 100msec timer -- ) 0 OVER TIMER_SET SWAP ( timer ticks ) BEGIN OVER TIMER_GET OVER > ( timer ticks time>ticks ) UNTIL 2DROP ; I have produced an (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Useful constants
 
(...) That is what I intended them for, I just thought that if I put them up here it would save some typing for someone else. I intend my IDE to detect if they are already in the RCX when it starts up, and download them if necessary. The IDE (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Ir transmission
 
(...) Alas, I only used the firmware timers available as core RCX firmware calls. I can look through Kekoa's disassembly to see if there are higher resolution timers available ( I think the motor timers might be useful ) In general, NQC hooks in (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  RE: Useful constants
 
(...) <snipped constant descriptions> John, These constants are indeed useful, but would make the resulting srec file pretty big. I have tried to make a TCL script to allow a sort of macro substitution. You can always load the constants after the (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  RE: SENSOR_READ doesn't return 0
 
(...) John, Thanks a lot for this catch. Sounds a lot like the email I exchanged with Kekoa regarding power down mode and external stacks, but that's another story... Cheers, Ralph Hempel - P.Eng ---...--- Check out pbFORTH for LEGO Mindstorms at: (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  RE: SENSOR_READ doesn't return 0
 
(...) OOPS, that SHOULD read 0x0080 since the mode is a BYTE value. Overzealous urge to get content into the website is to blame. For the light sensor, I generally use the percent of scale mode. My website has a page on tricks with the light sensor (...) (25 years ago, 15-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Re: Ir transmission
 
(...) Perhaps EMIT? would do (...) I'm nearly done with my NQC to pbFORTH port of the IR proximity detector, but I'm stuck where I have at present got a 30ms delay (Sleep(3) in NQC). I expect it isn't critical but the current detector works so well (...) (25 years ago, 14-Apr-99, to lugnet.robotics.rcx.pbforth)
 
  Useful constants
 
\ I still need to figure out how the datalog and transfer progress \ segments work, I'll be spending some time inside Kehoa's disassembly I \ think BASE @ HEX ( codes for POWER_GET ) 4000 CONSTANT pwrOnOffButtonState 4001 CONSTANT (...) (25 years ago, 14-Apr-99, to lugnet.robotics.rcx.pbforth)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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