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 / 2998
2997  |  2999
Subject: 
Basic to NQC
Newsgroups: 
lugnet.robotics
Date: 
Wed, 20 Jan 1999 01:52:41 GMT
Original-From: 
Chris Magno <cmagno@myna.ANTISPAMcom>
Viewed: 
1146 times
  
HI:

:)

I never thought people would take that last bit so seriously.

I can live without line numbers.  I had to learn to not use them after I
got a basic stamp.  pervious to that all my programing knowledge came
from my glorified microcontroler (an old c-64)

the "code" below was just a bit of nonsense.

poke (out a),255 was my lame attempt at a basic command that might send
a value of 255 to motor output A

After I send this I will follow your link.


10 clr
20  a = peek (sensor 1)
30 poke (out a),255
40 goto 10

Ah.  I didn't use line numbers, sorry.  Would you be happy with:

start:
cls
a = sensor1
REM Err - what is the RCX supposed to do with this next one?
poke (out a),255
goto start


--
Chris
the guy with the lego brick tattoo
or visit my lego walker page at:
http://www.myna.com/~cmagno/technics/tech.htm
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message is in Reply To:
  Re: FLASHING LIGHT ON LCD PANEL?
 
In article <36A49D97.931256BD@myna.com>, Chris Magno <cmagno@myna.com> writes (...) Yes, me. If I spent less time reading lego-robotics and more time coding I would get there faster! I have written a qbasic program which will let you send bytecodes (...) (25 years ago, 19-Jan-99, to lugnet.robotics)

6 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