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 / 3477
3476  |  3478
Subject: 
Botcode/SetWatch
Newsgroups: 
lugnet.robotics
Date: 
Fri, 5 Feb 1999 06:15:03 GMT
Viewed: 
883 times
  
HI:

I have a few questions.


Is there a way to use a variable in the SetWatch command? When
Programing with BotCode.
for example:  (this does not work)

---------------------------code--------------
int x
int y

set x 10
set y 10

BeginTask 2

  setwatch x y

EndTask
------------------------end---------------------

The reason I ask is 'cause I think it would make a great way to use the
clock as a "limited" debug feature while programing. Allowing a person
to display up to 2 variables on the brick itself.

Second question:

Does BotCode allow for the use of the RCX datalog feature?

(this last one might have been asked before)

using any programing available for the RCX; can the rcx itself access
and reference the datalog data?

it would seem a shame to be able to store all that data only to be used
by a PC

thanks

Chris
the guy with the lego brick tattoo
or visit my lego walker page at:
http://www.myna.com/~cmagno/technics/tech.htm



Message has 1 Reply:
  Re: Botcode/SetWatch
 
Chris Magno wrote in message <36BA8C67.5AC1BC47@myna.com>... (...) You can only use SetWatch with values not variables. It would be nice to have control of the display, but the standard code in the RCX doesn't allow it. (26 years ago, 6-Feb-99, to lugnet.robotics)

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