To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2615
2614  |  2616
Subject: 
NQC functions in C???
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 5 Jun 2002 14:34:21 GMT
Viewed: 
2091 times
  
Hello all

I am looking for C code for legos, to do the same as the below in NQC

psksvp

      SetSerialComm(SERIAL_COMM_4800|SERIAL_COMM_DUTY25|SERIAL_COMM_76KHZ);
      SetSerialPacket(SERIAL_PACKET_DEFAULT);

      // Set the first unit two message bytes and send them

      SetSerialData(0,MANAS_1*0x10+em1);
      SetSerialData(1,em2*0x10+0x10-((MANAS_1+em1+em2)&0xf));
      SendSerial(0,2);



1 Message 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