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 / 145
    Max poke rate? —Franklin Ranier Roller
   Hi, I've been trying to write to PD2 using the following: int write_port(int port, int value, int mask) { poke(port,(value & mask)|(peek(port) & ~mask)); } It works fine except that the fastest cycle that I can get out of PD2 is about 242 Hz. I need (...) (29 years ago, 11-Mar-96, to lugnet.robotics.handyboard)
   
        Re: Max poke rate? —Mike Ross
     (...) I think the Interactive-C overhead will prevent such fast repetition. Simple statements take about a millisecond, with printf's taking 10 msec. You'll probably have to do it in assembler, and use an .icb file. Hope this helps... -mike * (...) (29 years ago, 11-Mar-96, to lugnet.robotics.handyboard)
   
        Re: Max poke rate? —Tom Cicatelli
   (...) One option might be to try Kurt Konolige's IC compiler. I believe it only runs on a Unix machine, but you are able to compile programs for greater speed. Check out (URL) ___...___ Tom Cicatelli cica@tiac.net Melrose, Massachusetts ___...___ (29 years ago, 12-Mar-96, to lugnet.robotics.handyboard)
 

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