esp8266 timer

Posts: 2
Joined: Thu Mar 19, 2015 9:33 am

esp8266 timer

Postby AlonX » Tue Mar 31, 2015 2:25 pm

Hi, All

How many timers esp8266 support?

when i open two timer, as follows, it can not work, esp8266 will reset.

when i open only one timer, it can work well.

whether the ram lack of space or ohter reson?

Code: Select all

void user_timer_init(void)
    os_timer_setfn(&check_ip_timer, (os_timer_func_t *)user_check_ip_cb, NULL);
    os_timer_arm(&check_ip_timer, 1000, 1);

    os_timer_setfn(&uart_timer, (os_timer_func_t *)user_uart_timer_cb, NULL);
    os_timer_arm(&uart_timer, 50, 1);

Who is online

Users browsing this forum: No registered users and 1 guest