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 / 6519
  Re: HB Serial line speed change
 
Here is the relevant function. Note that it only works for baud rates up to 9600. void set_baud(int rate) /* For an 8 MHz clock */ { if (rate >= 300) poke(BAUD, 0xb0 | log2(9600/rate)); } You'll need regdefines.c (for the address of BAUD) as well as (...) (25 years ago, 24-Jul-99, to lugnet.robotics.handyboard)

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