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 / 4041
4040  |  4042
Subject: 
Program VB Light Sensor RCX
Newsgroups: 
lugnet.robotics
Date: 
Fri, 26 Feb 1999 23:59:50 GMT
Viewed: 
1038 times
  
I am struggling with learning to program the RCX  with Visual Basic. I want
to have motor "B" run untill my light sensor "2" sees a level of 50. I am at
a total loss on how to write this. Is there a site where I can down load
some typical programs that I  might gleen some better perspective of the
programng format? The "getstarted" program on MindStorms just is not enough
for me. Any help is appreciated.
--
Bob Fay

The Shop
http://www.geocities.com/Heartland/Bluffs/7900/



Message has 1 Reply:
  RE: Program VB Light Sensor RCX
 
Bob - Here's a VB program that does what you want. This assumes that Spirit .ocx is named "PbrickCtrl" as in the Mindstorm SDK examples. Substitute my statements in the "getstarted" example. I hope this helps! --- John. Private Sub DownPrgm_Click() (...) (26 years ago, 27-Feb-99, to lugnet.robotics)

3 Messages in This Thread:

Entire Thread 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