To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.loc.itOpen lugnet.loc.it in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Local / Italia / 884
883  |  885
Subject: 
Re: domanda per esperti nqc
Newsgroups: 
lugnet.loc.it
Date: 
Tue, 11 Jan 2000 19:08:08 GMT
Reply-To: 
marcob@#IHateSpam#equalis.it
Viewed: 
411 times
  
On Tue, 11 Jan 2000 01:54:05 GMT, iant <iant@libero.it> wrote:

Marco Beri wrote:

La domanda non e` banale, anzi. Credo che dovremo accontentarci di
decimi di secondo. Il manuale dice: "The RCX contains four timers
which measure time in increments of a tenth of a second (100ms). To
read the value of a timer, use the Timer(n) expression where n is a
constant between 0 and 3 and specifies which timer to read.".

Forse con un piccolo trucchetto e' possibile fare di meglio.

Grande! Mi piace. Veramente un'ottima idea.
Ciao.
Marco.
P.S. E` venuto in mente anche a me il calibro ma vedo che Carlo mi ha
tolto il commento...



Message has 2 Replies:
  Re: domanda per esperti nqc
 
(...) Non è che per caso i timers interni siano tutti aggiornati ogni decimo di secondo da un unico evento di clock, che quindi ignora i differenti decimali di partenza? Ciao Mario (25 years ago, 11-Jan-00, to lugnet.loc.it)
  Re: domanda per esperti nqc
 
(...) Grazie, grazie. ;) Speriamo che il codice che ho postato funzioni davvero su tutti gli RCX... Ciao, Antonio (25 years ago, 12-Jan-00, to lugnet.loc.it)

Message is in Reply To:
  Re: domanda per esperti nqc
 
(...) Forse con un piccolo trucchetto e' possibile fare di meglio. Basta usare tutti e quattro i timer e sfasarli di 3 centesimi di secondo l'uno dall'altro. Questo si puo' fare usando la funzione Wait() che, stando al manuale, dovrebbe avere una (...) (25 years ago, 11-Jan-00, to lugnet.loc.it)

13 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
    

Custom Search

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