[Flashforth-devel] AVR FlashForth on Arduinos baudrate?
Brought to you by:
oh2aun
From: craig b. <dab...@ya...> - 2018-07-25 12:30:09
|
Hi, I'm not particularly fluent in Atmel AVR the way I am in Microchip 8-bit PIC assembler, but since I've got AS7 available for working on SAM chips and a couple piles of 'duinos on the bench I thought I'ld put up my favorite foreign language on a couple (just to annoy the young doctorates, mind you (grin)). I've installed both hex files, one on an UNO the other on a MEGA 2560. Both run just fine as far as I've tested them (once the fuses are set right) but both communicate at 9600 baud rather than 38400 that's set in the source code. One of the calculations appears to do a divide-by-16 which seemed ripe for an experiment changing it to a divide-by-4... Then I tried to build it. AS7 let me import it as an AS4 project but the build came back with over 650 errors, so I'm obviously doing something wrong. I'ld like to know what my optimal Atmel Studio version is for this and a little more explanation of the import and build procedures just to get me started. Thanks, craig bair (...and keep up the good work, guys!...) |