To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 3981
3980  |  3982
Subject: 
hog_processor()
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 17 Jun 1998 07:07:33 GMT
Original-From: 
HECTOR NORIEGA <110060.2126@COMPUSERVEavoidspam.COM>
Viewed: 
1155 times
  
Could someone tell me how to use the
hog_processor(). I want to dedicate the
controller to only one task. I tried the following
program but it did not go faster than 700HZ.
void main()
  {
   while(1)
    {
     hog_processor();
      v_opt = analog(0);   /*measure optical sensor */
      poke(0x6fff,v_opt);     /* A/D correction */
    }  /* end of while */
    }  /* end of main program*/

Thank you in advance.
Hector Noriega
Student
Long Beach State University
Electrical Engineering Dept.



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