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 / 2993
2992  |  2994
Subject: 
Re: FLASHING LIGHT ON LCD PANEL?
Newsgroups: 
lugnet.robotics
Date: 
Tue, 19 Jan 1999 19:42:40 GMT
Original-From: 
Peter Hesketh <pbh@phesk[StopSpam].demon.co.uk>
Viewed: 
1253 times
  
In article <36A49D97.931256BD@myna.com>, Chris Magno <cmagno@myna.com>
writes
or just keep my fingers crossed and hope someone GTREAT at programming
writes a Basic to NQC compiler.

any takers?

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 to the
RCX from DOS on an 80286, and a firmware downloader which works if it
never receives a "faulty sumcheck" response, ie if you put the RCX next
to the tower.  Follow the lego link from http://here.is/shirenewton


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

--
Regards - Peter Hesketh, Mynyddbach, Mon.
Forty reasons why a dog is better than a woman: number 19
"You don't dread a visit from a dog's parents"
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message has 1 Reply:
  Basic to NQC
 
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 (...) (26 years ago, 20-Jan-99, to lugnet.robotics)

Message is in Reply To:
  Re: FLASHING LIGHT ON LCD PANEL?
 
Thanks Ben: this bit of code did the trick, I am now pie free. ;) i really gotta learn C. or just keep my fingers crossed and hope someone GTREAT at programming writes a Basic to NQC compiler. any takers? 10 clr 20 a = peek (sensor 1) 30 poke (out (...) (26 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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
5 hours ago
Custom Search

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