Am Donnerstag, den 13.08.2015, 15:36 -0500 schrieb Ben Pharr:
> I have a genuine Italian Arduino Duemilanove. I downloaded Amforth 5.9
> and flashed it with the included Makefile, as well as setting the
> fuses. It works, but only at 38400, not 9600, as the FAQ suggests.
> 
> The 'ms' word was missing, but I created a reasonable facsimile using 1ms:
> > : ms 0 do 1ms loop ;
> and this command:
> > 10000 ms
> took 10 seconds to run, so I don't think it's a F_CPU issue.
> 
> Any ideas why the serial isn't running at 9600?

Short answer: The code is right, the docs are wrong.
The duemilanove.asm has no settings for the baud rate, thus
the standard settings (as defined in avr8/preamble.inc) are
used. And they are set to 38400.

btw: there is a file called ms.frt in the forth2012/facility
directory. It does a bit more and is more robust against
0 ms 

Matthias
------------------------------------------------------------------------------
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to