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 / 4064
4063  |  4065
Subject: 
Re: BrickOS Patches and Development
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 17 Jul 2010 01:10:10 GMT
Viewed: 
37532 times
  
Re: Power Functions:
There is an older thread on the topic of Power Functions at [
http://news.lugnet.com/general/?n=54443&t=i&v=a ] which includes links to
some BrickOS-based code for Power Functions.  Be sure to follow the thread
to the end, as some of the links mentioned earlier on no longer work.  The
current working link is [ http://www.bong69.com/pages/software.php ] (scroll
to the bottom of that page).  Note that this code also disables/enables
interrupts.


Re: Interrupts
The LDCC patch, which Mark Riley wrote to output DCC waveforms over the
motor outputs, also disables interrupts, as DCC requires very precise
timings.  Since creating the rollup release noted earlier [
http://news.lugnet.com/robotics/rcx/legos/?n=4057 ], which is itself based
on Jochen's Bibo release, I haven't tried running LDCC without disabling the
interrupts, but based on Jochen's description, I'll have to give that a try.

As a side note, LDCC has also been integrated into pbForth [
http://news.lugnet.com/robotics/rcx/?n=2297 ].

LDCC Links
* http://news.lugnet.com/org/ca/rtltoronto/?n=14996
* http://home.surewest.net/markril/lego/dcc/


Cheers,
Matthew



Message is in Reply To:
  Re: BrickOS Patches and Development
 
Hello Yann, 2010/6/15 Yann Vernier <yann@algonet.se>: (...) I really would prefer to see the interrupt code running to disabling all interrupts for several milliseconds, loosing several ticks and disabling all sensors during this time. Did you apply (...) (14 years ago, 15-Jun-10, to lugnet.robotics.rcx.legos)

29 Messages 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