-->
Page 4 of 4

Re: os_sprintf or ets_sprintf

PostPosted: Sun Mar 15, 2015 10:12 am
by AcmeUK
Why not use 74880, then you will see useful info at boot time. 74880 is fast enough for most comms.

Can't get a terminal console to run at 74880? I use Cool Term Win.
How did I get it to run at 74880? You can add non-standard baud rates to CoolTerm by using a simple baudrates.ini file, see here :- http://forums.the-meiers.org/viewtopic.php?f=4&t=479

Re: os_sprintf or ets_sprintf

PostPosted: Thu Jul 02, 2015 2:02 am
by jh_
just initialize boths uarts with the baudrate you prefere before using os-printf:

#include "driver/uart.h"

#define BAUDRATE 115200

/* init uart0 & uart1 */
uart_init(BAUDRATE, BAUDRATE);

for (;;) os_printf("hello world");