microscheme icon indicating copy to clipboard operation
microscheme copied to clipboard

serial-init on UNO leads to malformed output from serial-write.

Open jellelicht opened this issue 7 years ago • 1 comments

When running the example serial.ms program (or any program using serial output for that matter) on the UNO rev3, I get weird output (mostly question marks, sometimes mis-matched symbols). By linking to an external C file that uses avr libc's #include <util/setbaud.h> to initialize the serial communication, i.c.w. microscheme's FFI, I do get the results I want. In this setting I omit any call to serial init (in my case (serial-init 96)).

jellelicht avatar Mar 30 '19 22:03 jellelicht

I haven't been able to re-produce this on my UNO R3.

ryansuchocki avatar May 07 '19 21:05 ryansuchocki